Skip to content

Commit 90a75fb

Browse files
committed
bump these timeouts back up to 1 full second for CI
1 parent 8e5385f commit 90a75fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unirest-bdd-tests/src/test/java/BehaviorTests/SSETest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)