diff --git a/core/src/test/java/org/apache/iceberg/view/ViewCatalogTests.java b/core/src/test/java/org/apache/iceberg/view/ViewCatalogTests.java index 5e1e3e076999..d7971614bacd 100644 --- a/core/src/test/java/org/apache/iceberg/view/ViewCatalogTests.java +++ b/core/src/test/java/org/apache/iceberg/view/ViewCatalogTests.java @@ -21,7 +21,6 @@ import static org.apache.iceberg.types.Types.NestedField.required; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.assertj.core.api.Assertions.entry; import java.nio.file.Path; import java.nio.file.Paths; @@ -108,7 +107,7 @@ public void basicCreateView() { assertThat(view.currentVersion().operation()).isEqualTo("create"); assertThat(view.schemas()).hasSize(1).containsKey(0); assertThat(view.versions()).hasSize(1).containsExactly(view.currentVersion()); - assertThat(view.properties()).contains(entry("key1", "catalog-default-key1")); + assertThat(view.properties()).containsEntry("key1", "catalog-default-key1"); assertThat(view.currentVersion()) .isEqualTo( diff --git a/open-api/src/testFixtures/java/org/apache/iceberg/rest/RCKUtils.java b/open-api/src/testFixtures/java/org/apache/iceberg/rest/RCKUtils.java index d478320d284c..d6707773069f 100644 --- a/open-api/src/testFixtures/java/org/apache/iceberg/rest/RCKUtils.java +++ b/open-api/src/testFixtures/java/org/apache/iceberg/rest/RCKUtils.java @@ -85,6 +85,7 @@ static RESTCatalog initCatalogClient() { catalogProperties.putIfAbsent( CatalogProperties.URI, String.format("http://localhost:%s/", RESTCatalogServer.REST_PORT_DEFAULT)); + catalogProperties.putIfAbsent(CatalogProperties.WAREHOUSE_LOCATION, "rck_warehouse"); catalogProperties.putIfAbsent( CatalogProperties.VIEW_DEFAULT_PREFIX + "key1", "catalog-default-key1");