commit | fdad0850a7b94c25575123c77cb43bcca0ed299d | [log] [tgz] |
---|---|---|
author | Robin Thellend <rthellend@google.com> | Thu Jun 05 17:39:47 2014 -0700 |
committer | Robin Thellend <rthellend@google.com> | Thu Jun 05 17:39:52 2014 -0700 |
tree | 7d1af691629b3f431b4de1004d44cf463cc04928 | |
parent | 77b383285bc119d0fc971bde98e8266e72f21f7a [diff] |
veyron/examples/rockpaperscissors: Fix race in test. Make sure the test waits for all players to be idle before looking at the counters. In the test, there are two players. One that's controlled by the test itself, and another one that's passively receives a challenge from the first one. Before this change, it was possible for the first player to be done, but not the second one at the time the counters are inspected. Change-Id: Ibcc2a66c4f9940465201889df4e4a07717ee34db