Commit d5d6209b authored by Sebastien Hertz's avatar Sebastien Hertz
Browse files

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 2d5d534c)

Change-Id: I6b12ef318ecb779cf9fec66b28c495b34604a668
parent 6b65531c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment