Skip to content

Commit 306ba62

Browse files
committed
refactor: use storage-specific host parameter in e2e tests
1 parent 09acb28 commit 306ba62

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

e2e_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ func testGCSStorage(ctx context.Context, t *testing.T, clickhouseContainer testc
122122
"--storage-type", "gcs",
123123
"--storage-bucket", "testbucket",
124124
"--storage-path", "",
125-
"--host", gcsHost,
126-
"--port", gcsPort.Port(),
125+
"--storage-host", fmt.Sprintf("%s:%s", gcsHost, gcsPort.Port()),
127126
})
128127
}
129128

@@ -146,8 +145,7 @@ func testAzureBlobStorage(ctx context.Context, t *testing.T, clickhouseContainer
146145
"--storage-key", "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==",
147146
"--storage-container", "testcontainer",
148147
"--storage-path", "",
149-
"--host", azuriteHost,
150-
"--port", azuritePort.Port(),
148+
"--storage-host", fmt.Sprintf("%s:%s", azuriteHost, azuritePort.Port()),
151149
})
152150
}
153151

0 commit comments

Comments
 (0)