commit | d5d6209b5cc789d290237847f0a7a514191092e0 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Thu Feb 19 18:01:24 2015 +0100 |
committer | Sebastien Hertz <shertz@google.com> | Thu Feb 19 18:37:23 2015 +0100 |
tree | 2762a6d2261f911edb334e016b1eb46cdae2124c | |
parent | 6b65531cd7e778e8e30fcf24313e2b4985565822 [diff] |
Fix flaky test ThreadStartTest We may receive THREAD_START events for runtime internal threads (like GCDaemon) before receiving one for the tested thread. We now loop until receiving a THREAD_START event for the tested thread. If we receive a THREAD_START event for another thread, we just ignore it and wait for the next event. Bug: 19438651 (cherry picked from commit 2d5d534cf8b1e4788317678df2301227c16e0433) Change-Id: I6b12ef318ecb779cf9fec66b28c495b34604a668