Skip to content

Commit ce55097

Browse files
committed
Use official Polaris Catalog docker image
1 parent c5bef6d commit ce55097

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/rest/TestingPolarisCatalog.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import static io.airlift.http.client.StaticBodyGenerator.createStaticBodyGenerator;
3535
import static io.airlift.http.client.StatusResponseHandler.createStatusResponseHandler;
3636
import static io.airlift.http.client.StringResponseHandler.createStringResponseHandler;
37-
import static io.trino.testing.TestingProperties.getDockerImagesVersion;
3837
import static java.nio.charset.StandardCharsets.UTF_8;
3938
import static java.util.Objects.requireNonNull;
4039

@@ -56,8 +55,7 @@ public TestingPolarisCatalog(String warehouseLocation)
5655
{
5756
this.warehouseLocation = requireNonNull(warehouseLocation, "warehouseLocation is null");
5857

59-
// TODO: Use the official docker image once Polaris community provides it
60-
polarisCatalog = new GenericContainer<>("ghcr.io/trinodb/testing/polaris-catalog:" + getDockerImagesVersion());
58+
polarisCatalog = new GenericContainer<>("apache/polaris:1.0.0-incubating");
6159
polarisCatalog.addExposedPort(POLARIS_PORT);
6260
polarisCatalog.withFileSystemBind(warehouseLocation, warehouseLocation, BindMode.READ_WRITE);
6361
polarisCatalog.waitingFor(new LogMessageWaitStrategy().withRegEx(".*Apache Polaris Server.* started.*"));

0 commit comments

Comments
 (0)