diff --git a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/glue/TestIcebergGlueTableOperationsInsertFailure.java b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/glue/TestIcebergGlueTableOperationsInsertFailure.java index d5b88ed86efe..5c7f7519b1a9 100644 --- a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/glue/TestIcebergGlueTableOperationsInsertFailure.java +++ b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/glue/TestIcebergGlueTableOperationsInsertFailure.java @@ -131,7 +131,7 @@ public void testInsertFailureDoesNotCorruptTheTableMetadata() assertThat(throwable.getCause()).isInstanceOf(Failure.class); Failure failure = (Failure) throwable.getCause(); assertThat(failure.getMessage()).contains("Test-simulated Glue timeout exception"); - assertThat(failure.getFailureInfo().getType()).isEqualTo("org.apache.iceberg.exceptions.CommitStateUnknownException"); + assertThat(failure.getFailureInfo().getType()).isEqualTo("io.trino.spi.TrinoException"); }); assertQuery("SELECT * FROM " + tableName, "VALUES 'Trino', 'rocks'"); }