selftests/powerpc: Increase timeout for vsx_signal test
authorMichael Neuling <mikey@neuling.org>
Tue, 7 Mar 2023 21:36:14 +0000 (08:36 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 Mar 2023 13:52:09 +0000 (00:52 +1100)
On the max config P10 machine (1920 threads and 64TB) this test fails
with a timeout:

    Sending signals to all threads 10 times...!! killing vmx_signal
    !! child died by signal 15
    failure: vmx_signal

The default timeout is 120sec so increase this 3x to 360sec. With this
change the test passes on these large machines.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230307213614.2652059-1-mikey@neuling.org
tools/testing/selftests/powerpc/math/vmx_signal.c

index b340a5c4e79dde228180c6fbda1e29d6139b2e32..c307dff19c12e3578ee9117a8b57cff965f0b4cd 100644 (file)
@@ -151,5 +151,6 @@ int test_signal_vmx(void)
 
 int main(int argc, char *argv[])
 {
+       test_harness_set_timeout(360);
        return test_harness(test_signal_vmx, "vmx_signal");
 }