@Override @Before public void setUp() throws Exception { Utils.setMockClock(); // Use mock clock super.setUp(); // Fix the random permutation that TransactionBroadcast uses to shuffle the peers. TransactionBroadcast.random = new Random(0); peerGroup.setMinBroadcastConnections(2); peerGroup.startAsync(); peerGroup.awaitRunning(); }
@Override @After public void tearDown() { super.tearDown(); }