diff options
author | adamw <adam@warski.org> | 2017-07-15 12:16:11 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-15 12:16:11 +0200 |
commit | 462464ea1b16fedea8852e86c933738b923f96c7 (patch) | |
tree | 919736df54727faaacd995655d513b06b5e1b2ca /tests/src/test/scala/com | |
parent | aeea53b49309cbfcbfcdf8a466c3cde418bd58df (diff) | |
download | sttp-462464ea1b16fedea8852e86c933738b923f96c7.tar.gz sttp-462464ea1b16fedea8852e86c933738b923f96c7.tar.bz2 sttp-462464ea1b16fedea8852e86c933738b923f96c7.zip |
Waiting for the server to start in tests
Diffstat (limited to 'tests/src/test/scala/com')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala index a0f1cba..28a5ac0 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala @@ -92,7 +92,7 @@ class BasicTests private val endpoint = "http://localhost:51823" override protected def beforeAll(): Unit = { - Http().bindAndHandle(serverRoutes, "localhost", 51823) + Http().bindAndHandle(serverRoutes, "localhost", 51823).futureValue } override protected def afterAll(): Unit = { |