mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
PeerGroupTest: Fix a race.
This commit is contained in:
parent
19d4887253
commit
3ca2cd0345
@ -247,6 +247,7 @@ public class PeerGroupTest extends TestWithPeerGroup {
|
||||
});
|
||||
// A straggler reports in.
|
||||
inbound(p3, inv);
|
||||
Threading.waitForUserCode();
|
||||
assertEquals(tx, event[1]);
|
||||
assertEquals(3, tx.getConfidence().numBroadcastPeers());
|
||||
assertTrue(tx.getConfidence().wasBroadcastBy(peerOf(p3).getAddress()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user