Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
KSemenenko committed Oct 14, 2023
1 parent 5d90a8d commit 7c471fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Testcontainers.FakeGCSServer/FakeGCSServerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override FakeGCSServerContainer Build()
protected override FakeGCSServerBuilder Init()
{
return base.Init()
.WithImage(GCSImage)
.WithPortBinding(GCSPort, GCSPort)
.WithImage(FakeGCSServerImage)
.WithPortBinding(FakeGCSServerPort, FakeGCSServerPort)
.WithCommand("-scheme", "http")
.WithCommand("-backend", "memory")
.WithCommand("-external-url", $"http://localhost:{GCSPort}")
.WithCommand("-port", GCSPort.ToString())
.WithCommand("-external-url", $"http://localhost:{FakeGCSServerPort}")
.WithCommand("-port", FakeGCSServerPort.ToString())
.WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request =>
request.ForPath("/").ForPort(GCSPort).ForStatusCode(HttpStatusCode.NotFound)));
request.ForPath("/").ForPort(FakeGCSServerPort).ForStatusCode(HttpStatusCode.NotFound)));
}

/// <inheritdoc />
Expand Down

0 comments on commit 7c471fa

Please sign in to comment.