selftests/nci: increase t4t_tag_read timeout for debug kernels
Subsystems (3)
PATCH 1/1 selftests/nci: increase t4t_tag_read timeout for debug kernels
The t4t_tag_read test occasionally exceeds the default 30-second TEST_TIMEOUT_DEFAULT, triggering flaky "Test terminated by timeout" failures (~4% rate on slow CI systems with debug configs).
TBH this is potentially papering over a real issue. The test usually takes 7sec to finish, with this fix it sometimes takes 37s. What happens when it needs extra time I do not know. But the upshot is that it used to flake 4% of the time in NIPA and now it passes (200 clean runs). So unless someone has time to really dig into this, let's silence it?
Signed-off-by Jakub Kicinski <[email protected]>
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- tools/testing/selftests/nci/nci_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/nci/nci_dev.c +1 -1
@@ -836,7 +836,7 @@ int disconnect_tag(int nfc_sock, int virtual_fd)return status; } -TEST_F(NCI, t4t_tag_read) +TEST_F_TIMEOUT(NCI, t4t_tag_read, 120) {int nfc_sock;int status;
Signature · 1 line
2.55.0