Skip to content

Commit

Permalink
Fix defer with router tests (#5096)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD authored Jul 13, 2023
1 parent c6095ce commit d1013a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ actual class MockServer actual constructor(override val mockServerHandler: MockS
}.listen()

override suspend fun url() = url ?: suspendCoroutine { cont ->
url = "http://localhost:${server.address().unsafeCast<AddressInfo>().port}/"
url = "http://127.0.0.1:${server.address().unsafeCast<AddressInfo>().port}/"
server.on("listening") { _ ->
cont.resume(url!!)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class DeferWithRouterTest {
private fun setUp() {
apolloClient = ApolloClient.Builder()
.httpEngine(getStreamingHttpEngine())
.serverUrl("http://localhost:4000/")
.serverUrl("http://127.0.0.1:4000/")
.build()
}

Expand Down

0 comments on commit d1013a4

Please sign in to comment.