diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-06 12:52:15 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-06 12:52:15 +0900 |
| commit | 5d014bcb61cbc443be6e6bd722573bf9e482a9be (patch) | |
| tree | 8ef802f3386592921683ea86c54b5494ebdf0ac1 /test/ruby | |
| parent | 5267829641aad24c8dd66436fcdcbddd3cf30589 (diff) | |
Use `sleep 0.5` for tests of GVL instrumentation API
The tests fail randomly on some platforms.
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20220605T213004Z.fail.html.gz
http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20220605T210003Z.fail.html.gz
```
[15737/21701] TestThreadInstrumentation#test_thread_instrumentation_fork_safe/home/chkbuild/chkbuild/tmp/build/20220605T213004Z/ruby/tool/lib/test/unit/assertions.rb:109:in `assert': Expected 0 to be nonzero?. (Test::Unit::AssertionFailedError)
```
The failures seem to depend on context switches. I suspect `sleep 0.05`
is too short, so this change tries to extend the wait time.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
