test56: fix race condition
Change-Id: I42bfe2b150e92f760794b4a03e62859c8bd7a992
This commit is contained in:
parent
cbc8a0df90
commit
e5808135dd
1 changed files with 2 additions and 0 deletions
|
@ -3236,6 +3236,8 @@ test_intr(void)
|
|||
/* No partial transfers should be happening. */
|
||||
check_select(client_sd, 0 /*read*/, 1 /*write*/, 0 /*block*/);
|
||||
|
||||
sleep(1);
|
||||
|
||||
fcntl(client_sd, F_SETFL, fcntl(client_sd, F_GETFL) |
|
||||
O_NONBLOCK);
|
||||
|
||||
|
|
Loading…
Reference in a new issue