Skip to content

Commit

Permalink
=ht2 fix H2SpecIntegrationSpec not to succeed accidentally because of…
Browse files Browse the repository at this point in the history
… toStrict timeout
  • Loading branch information
jrudolph committed Jun 6, 2019
1 parent 5bbcfd1 commit 21bcd37
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class H2SpecIntegrationSpec extends AkkaSpec(
override def expectedTestDuration = 5.minutes // because slow jenkins, generally finishes below 1 or 2 minutes

val echo = (req: HttpRequest) => {
req.entity.toStrict(1.second.dilated).map { entity =>
req.entity.toStrict(5.second.dilated).map { entity =>
HttpResponse().withEntity(HttpEntity(entity.data))
}
}
Expand Down Expand Up @@ -94,6 +94,7 @@ class H2SpecIntegrationSpec extends AkkaSpec(
"5.1.1",
"5.5",
"6.1",
"6.3",
"6.5.2",
"6.9",
"6.9.1",
Expand Down

0 comments on commit 21bcd37

Please sign in to comment.