test: Make local.event.*.fd1 a bit less flapping
authorVolker Lendecke <vl@samba.org>
Tue, 5 May 2020 13:07:49 +0000 (15:07 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 6 May 2020 11:58:42 +0000 (11:58 +0000)
One millisecond seems not enough on slow machines, make the timeout 10 msec

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed May  6 11:58:42 UTC 2020 on sn-devel-184

lib/tevent/testsuite.c

index ee4c2850230cf4672feb477de809b7f7078dda46..3bf4bd7a574efe944725c04696d35a0682796f9a 100644 (file)
@@ -423,7 +423,7 @@ static bool test_event_fd1(struct torture_context *tctx,
        torture_assert(tctx, ret == 0, "socketpair() failed");
 
        state.te = tevent_add_timer(state.ev, state.ev,
-                                   timeval_current_ofs(0,1000),
+                                   timeval_current_ofs(0,10000),
                                    test_event_fd1_finished, &state);
        state.fde0 = tevent_add_fd(state.ev, state.ev,
                                   state.sock[0], TEVENT_FD_WRITE,