Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spawn_test: prolong termination time to be more tolerant.
pidfd_open(2) can fail on old kernels due to several reasons(e.g. syscall not supported, O_NONBLOCK flags not supported), in which case process:wait() falls back to waitpid(2) with backoff(at least 20ms), which may make it longer than 10ms. Here we allow one backoff to make the test more tolerant. Signed-off-by: Jianyong Chen <baluschch@gmail.com>
- Loading branch information