Skip to contentSkip to conversation

selftests/powerpc: Increase timeout for vsx_signal test

PATCH Applied Michael Neuling 2 participants 2 messages Mar 7, 2023 – Mar 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/powerpc: Increase timeout for vsx_signal test

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.

---
 tools/testing/selftests/powerpc/math/vmx_signal.c | 1 +
 1 file changed, 1 insertion(+)
tools/testing/selftests/powerpc/math/vmx_signal.c +1 -0
index b340a5c4e79d..c307dff19c12 100644
@@ -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");
 }
Signature · 1 line
2.39.2