Try to fix tests on travis.
Unfortunately they work fine locally, so there may be several of those attempts.
This commit is contained in:
parent
71124d7b01
commit
e6d40cde76
@ -86,7 +86,7 @@ public class NetworkHandlerTest {
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
public void setUp() throws InterruptedException {
|
||||
peerInventory = new TestInventory();
|
||||
peer = new BitmessageContext.Builder()
|
||||
.addressRepo(mock(AddressRepository.class))
|
||||
@ -120,6 +120,7 @@ public class NetworkHandlerTest {
|
||||
})
|
||||
.build();
|
||||
peer.startup();
|
||||
Thread.sleep(100);
|
||||
|
||||
nodeInventory = new TestInventory();
|
||||
node = new BitmessageContext.Builder()
|
||||
|
Loading…
Reference in New Issue
Block a user