From 0a690a219fc7d274b0650ea7075abdc1fc0d5937 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Wed, 10 Oct 2018 18:29:14 -0700 Subject: Bind to 0.0.0.0 instead of :: This fixes network tests in Travis-CI. --- core-init/src/main/scala/xyz/driver/core/init/AkkaBootable.scala | 2 +- core-testkit/src/main/scala/xyz/driver/test/renames.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core-init/src/main/scala/xyz/driver/core/init/AkkaBootable.scala b/core-init/src/main/scala/xyz/driver/core/init/AkkaBootable.scala index df6611e..b012bf9 100644 --- a/core-init/src/main/scala/xyz/driver/core/init/AkkaBootable.scala +++ b/core-init/src/main/scala/xyz/driver/core/init/AkkaBootable.scala @@ -179,7 +179,7 @@ trait AkkaBootable { syslog("binding to network interface") val binding = Await.result( - Http().bindAndHandle(route, "::", port), + Http().bindAndHandle(route, "0.0.0.0", port), 2.seconds ) syslog(s"listening to ${binding.localAddress}") diff --git a/core-testkit/src/main/scala/xyz/driver/test/renames.scala b/core-testkit/src/main/scala/xyz/driver/test/renames.scala index 0ebee4a..a9dfe04 100644 --- a/core-testkit/src/main/scala/xyz/driver/test/renames.scala +++ b/core-testkit/src/main/scala/xyz/driver/test/renames.scala @@ -14,7 +14,7 @@ package object test { type DriverFunctionalTest = testkit.DriverFunctionalTest @deprecated("moved to package `xyz.driver.core.testkit`", "2.0") - type FixtureDatabase[P <: BasicProfile] = testkit.FixtureDatabase[P] + type FixtureDatabase[P <: BasicProfile] = testkit.FixtureDatabase[P] @deprecated("moved to package `xyz.driver.core.testkit`", "2.0") type CreateAndDropSchemaForEach[P <: RelationalProfile] = testkit.CreateAndDropSchemaForEach[P] -- cgit v1.2.3