File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
unirest-bdd-tests/src/test/java/BehaviorTests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ void basicConnection() {
5555 MockServer .Sse .sendComment ("hey1" );
5656 MockServer .Sse .sendEvent ("Whats Happening?" );
5757
58- sleep (500 );
58+ sleep (1000 );
5959
6060 listener .assertHasEvent ("connect" , "Welcome to Server Side Events" )
6161 .assertHasComment ("hey1" )
@@ -69,7 +69,7 @@ void eventsWithIds() {
6969 MockServer .Sse .sendEvent ("123" , "cheese" , "cheddar" );
7070 MockServer .Sse .sendEvent ( "cheese" , "gouda" );
7171
72- sleep (500 );
72+ sleep (1000 );
7373
7474 listener .assertHasEvent ("123" , "cheese" , "cheddar" )
7575 .assertHasEvent ("cheese" , "gouda" );
@@ -130,7 +130,7 @@ private static void runWith(SseRequest sse, TestListener tl) {
130130 });
131131 t .start ();
132132
133- Thread .sleep (500 );
133+ Thread .sleep (1000 );
134134 }catch (Exception e ){
135135 throw new RuntimeException (e );
136136 }
You can’t perform that action at this time.
0 commit comments