From e24ffaf57a5563649cc7f3aa926c97dc2e218cc9 Mon Sep 17 00:00:00 2001 From: Martin Traverso Date: Mon, 9 Oct 2023 22:51:07 -0700 Subject: [PATCH] Remove flaky check The check seems to be sensitive to the order in which this particular test runs vs other tests in this class, possibly due to timing issues and eventual consistency issues. --- .../trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java index 69ea390433ea..4544e3a80912 100644 --- a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java +++ b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java @@ -483,7 +483,6 @@ public void testHiveViewsCannotBeAccessed() { String viewName = "dummy_view"; hiveHadoop.runOnHive(format("CREATE VIEW %1$s.%2$s AS SELECT * FROM %1$s.customer", SCHEMA, viewName)); - assertEquals(computeScalar(format("SHOW TABLES LIKE '%s'", viewName)), viewName); assertThatThrownBy(() -> computeActual("DESCRIBE " + viewName)).hasMessageContaining(format("%s.%s is not a Delta Lake table", SCHEMA, viewName)); hiveHadoop.runOnHive("DROP VIEW " + viewName); }