This repository was archived by the owner on Aug 23, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/iota/iri/network Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public void addAndRemoveNeighborsAddsAndRemovesConnectionsAccordingly() throws E
102
102
neighborRouterAThread .start ();
103
103
neighborRouterBThread .start ();
104
104
105
- Thread .sleep (1000 );
105
+ Thread .sleep (2000 );
106
106
107
107
// A should not have any neighbors
108
108
assertEquals ("should not have any neighbors yet" , 0 , neighborRouterA .getConnectedNeighbors ().size ());
@@ -112,7 +112,7 @@ public void addAndRemoveNeighborsAddsAndRemovesConnectionsAccordingly() throws E
112
112
113
113
neighborRouterA .addNeighbor (neighborBURI .toString ());
114
114
115
- Thread .sleep (1000 );
115
+ Thread .sleep (2000 );
116
116
117
117
// should now be connected with each other
118
118
assertEquals ("neighbor B should be connected" , 1 , neighborRouterA .getConnectedNeighbors ().size ());
@@ -126,7 +126,7 @@ public void addAndRemoveNeighborsAddsAndRemovesConnectionsAccordingly() throws E
126
126
neighborA .send (
127
127
Handshake .createHandshakePacket ((char ) 19000 , Hash .NULL_HASH .bytes (), (byte ) nodeConfigA .getMwm ()));
128
128
129
- Thread .sleep (1000 );
129
+ Thread .sleep (2000 );
130
130
131
131
assertEquals ("should not have any connected neighbors anymore" , 0 ,
132
132
neighborRouterA .getConnectedNeighbors ().size ());
You can’t perform that action at this time.
0 commit comments