Kaydet (Commit) feb480d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Synchronize all access to _sync_counter, _passedAync

Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452
üst 86ce77b9
......@@ -79,7 +79,7 @@ class TestWorkAt implements TestIWorkAt {
_notified = true;
public boolean passedAsyncTest() {
public synchronized boolean passedAsyncTest() {
assertEquals(MESSAGES, _sync_counter);
return _passedAync && (_sync_counter == MESSAGES);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment