Skip to content

Commit

Permalink
=htc improve patience on FramingSpec because Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso committed Aug 2, 2016
1 parent 5035347 commit 5e50bde
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -16,6 +16,8 @@ import scala.concurrent.duration._

class JsonFramingSpec extends AkkaSpec {

override implicit val patience = PatienceConfig(timeout = 10.seconds)

implicit val mat = ActorMaterializer()

"collecting multiple json" should {
Expand Down Expand Up @@ -79,9 +81,7 @@ class JsonFramingSpec extends AkkaSpec {

"parse comma delimited" in {
val input =
"""
| { "name": "john" }, { "name": "jack" }, { "name": "katie" }
""".stripMargin
""" { "name": "john" }, { "name": "jack" }, { "name": "katie" } """

val result = Source.single(ByteString(input))
.via(JsonFraming.objectScanner(Int.MaxValue))
Expand Down

0 comments on commit 5e50bde

Please sign in to comment.