mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-02 03:08:09 +08:00
1a6ae8ce0b
Use test::Multiprocess, which ensures that waitpid() is called to reap child processes. Previously, after a several thousand iterations (using --gtest_repeat), fork() would begin failing with EAGAIN: [ RUN ] ProcessInfo.Forked ../../util/posix/process_info_test.cc:165: Failure Expected: (pid) >= (0), actual: -1 vs 0 fork: Resource temporarily unavailable (35) [ FAILED ] ProcessInfo.Forked (0 ms) Bug: crashpad:30 Test: crashpad_util_test ProcessInfo.Forked Change-Id: Ia95c9297d5eeb02894f58844ced1b50981870cbc Reviewed-on: https://chromium-review.googlesource.com/461482 Reviewed-by: Joshua Peraza <jperaza@chromium.org>