Skip to content

Commit

Permalink
5 sec takeRequest timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Nov 1, 2023
1 parent 3b535ca commit 534d2cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class FunctionalTests {

Thread.sleep((flushInterval / 2).inWholeMilliseconds)

val firstRequestPayload = server.takeRequest(500, TimeUnit.MILLISECONDS)?.toMap()
val firstRequestPayload = server.takeRequest(5000, TimeUnit.MILLISECONDS)?.toMap()
assertThat(firstRequestPayload!!["events"]).hasSize(2)

parselyTracker.trackPageview("url", null, null, null)
Expand Down

0 comments on commit 534d2cb

Please sign in to comment.