commit | beae5ac58070c1aa136c7bbae28aae7d0a37ba94 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Sep 21 13:21:51 2017 -0700 |
committer | Alex Light <allight@google.com> | Thu Sep 21 17:35:13 2017 -0700 |
tree | 88171b4584e8babcf289bff552a5f60771f056a8 | |
parent | 20e9a7f4ac3b61c1a81653276036e124b19cb8d4 [diff] |
Harden monitor tests against spurious wakeups. The monitor tests (1930 - 1934) were slightly flakey due to spurious wake-ups. This makes them less susceptible to the issue by making threads go back to sleep if the wake-up seems spurious. Test: ./test.py --host -j50 Test: stress --cpu 60 Test: while ./test/run-test --host 1933; do; done Change-Id: I895827e6433f9ab3d2bd5cc3bf10ad0e242ac89d