Skip to content

Commit

Permalink
Remove flaky check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martint committed Oct 10, 2023
1 parent 18796a0 commit e24ffaf
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e24ffaf

Please sign in to comment.