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 add the minimal backoff to 10ms so that the test can pass on old kernels. Signed-off-by: Jianyong Chen <baluschch@gmail.com>
- Loading branch information