Message ID | 20210820015556.23276-2-lizhijian@cn.fujitsu.com |
---|---|
State | Accepted |
Commit | 2d82d73da35b72b53fe0d96350a2b8d929d07e42 |
Headers | show |
Series | [v2,1/5] selftests/bpf: enlarge select() timeout for test_maps | expand |
diff --git a/tools/testing/selftests/bpf/test_maps.c b/tools/testing/selftests/bpf/test_maps.c index 30cbf5d98f7d..de58a3070eea 100644 --- a/tools/testing/selftests/bpf/test_maps.c +++ b/tools/testing/selftests/bpf/test_maps.c @@ -985,7 +985,7 @@ static void test_sockmap(unsigned int tasks, void *data) FD_ZERO(&w); FD_SET(sfd[3], &w); - to.tv_sec = 1; + to.tv_sec = 30; to.tv_usec = 0; s = select(sfd[3] + 1, &w, NULL, NULL, &to); if (s == -1) {