diff --git a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/rest/TestIcebergBigLakeMetastoreConnectorSmokeTest.java b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/rest/TestIcebergBigLakeMetastoreConnectorSmokeTest.java index 50bd0a9a8909..bfbb725f37b6 100644 --- a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/rest/TestIcebergBigLakeMetastoreConnectorSmokeTest.java +++ b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/rest/TestIcebergBigLakeMetastoreConnectorSmokeTest.java @@ -254,7 +254,7 @@ public void testRegisterTableWithDifferentTableName() { assertThatThrownBy(super::testRegisterTableWithDifferentTableName) .hasMessageContaining("Failed to register table") - .hasStackTraceContaining("does not start with the expected prefix"); + .hasStackTraceContaining("Malformed request: Invalid metadata location"); } @Test @@ -263,7 +263,7 @@ public void testRegisterTableWithTrailingSpaceInLocation() { assertThatThrownBy(super::testRegisterTableWithDifferentTableName) .hasMessageContaining("Failed to register table") - .hasStackTraceContaining("does not start with the expected prefix"); + .hasStackTraceContaining("Malformed request: Invalid metadata location"); } @Test