commit | ed3a357e6b28dbc00a60b72af8bb846775348172 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Jul 20 11:42:12 2017 -0700 |
committer | Alex Light <allight@google.com> | Thu Jul 20 22:04:36 2017 +0000 |
tree | ee94b390cabe28db2bc13f5e6d900a666e39d8a4 | |
parent | e8f48da635c4d07bbe431e5819da8e1fad91a8ef [diff] |
Make test 924 less flaky. GetThreadState on threads blocked on monitors can be affected by GC and other internals. This is because internal suspension of threads marks them as Runnable. To make this test not observe this as much we make it call GetThreadState multiple times and use the most common result as the threads current state. Bug: 62117833 Bug: 63903050 Test: stress --cpu 64 & while ./test/run-test --host 924; do ; done Change-Id: Iaa38cb58386416a72a6bb3c26ed90f4b8b623d1b