test-async: wait a while for fd to be closed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 2 Jun 2024 00:10:03 +0000 (09:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 2 Jun 2024 00:10:06 +0000 (09:10 +0900)
commitb593d86d1bbfc84c992d5d9dc887f19bc1eb1994
treebd3027f2c3e7d8314b000e70997a746f61e8f032
parentcbc96ad976bf0c172374117a38bec2b7a1b5ff68
test-async: wait a while for fd to be closed

When this is run on slow environment, e.g. sanitizer is enabled,
then waiting for 1 second may not be enough.

Hopefully fixes #33150.
src/test/test-async.c