Skip to content

Commit 709a610

Browse files
committed
naming
1 parent f589063 commit 709a610

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ManagedCode.Storage.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedCode.Storage.Azure.D
2525
EndProject
2626
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedCode.Storage.TestFakes", "ManagedCode.Storage.TestFakes\ManagedCode.Storage.TestFakes.csproj", "{7190B548-4BE9-4EF6-B55F-8432757AEAD5}"
2727
EndProject
28-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testcontainers.GCS", "Testcontainers.GCS\Testcontainers.GCS.csproj", "{40638DBB-CB6F-4B11-B4B5-50446CE426E7}"
28+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestcontainersGCS", "TestcontainersGCS\TestcontainersGCS.csproj", "{40638DBB-CB6F-4B11-B4B5-50446CE426E7}"
2929
EndProject
3030
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Storages", "Storages", "{92201402-E361-440F-95DB-68663D228C2D}"
3131
EndProject
32-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder1", "SolutionFolder1", "{94DB7354-F5C7-4347-B9EC-FCCA38B86876}"
32+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AspNet", "AspNet", "{94DB7354-F5C7-4347-B9EC-FCCA38B86876}"
3333
EndProject
3434
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedCode.Storage.Client", "ManagedCode.Storage.Client\ManagedCode.Storage.Client.csproj", "{D5A7D3A7-E6E8-4153-911D-D7C0C5C8B19C}"
3535
EndProject

TestcontainersGCS/GCSBuilder.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace TestcontainersGCS;
55
public sealed class GCSBuilder : ContainerBuilder<GCSBuilder, GCSContainer, GCSConfiguration>
66
{
77
public const string GCSImage = "fsouza/fake-gcs-server:1.47.5";
8-
public const ushort GCSPort = 4443;
8+
public const ushort GCSPort = 30000;
99

1010
/// <summary>
1111
/// Initializes a new instance of the <see cref="GCSBuilder" /> class.
@@ -41,8 +41,11 @@ protected override GCSBuilder Init()
4141
{
4242
return base.Init()
4343
.WithImage(GCSImage)
44-
.WithPortBinding(GCSPort, true)
44+
.WithPortBinding(GCSPort, GCSPort)
4545
.WithCommand("-scheme", "http")
46+
.WithCommand("-backend", "memory")
47+
.WithCommand("-external-url", $"http://localhost:{GCSPort}")
48+
.WithCommand("-port", $"{GCSPort}")
4649
.WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request =>
4750
request.ForPath("/").ForPort(GCSPort).ForStatusCode(HttpStatusCode.NotFound)));
4851
}

0 commit comments

Comments
 (0)