Skip to content

Commit

Permalink
Revert "Avoid flakiness in test when dropping table"
Browse files Browse the repository at this point in the history
This reverts commit b061560.

Since we know that CREATE TABLE succeeded the table exists when we drop it.
  • Loading branch information
wendigo committed May 25, 2024
1 parent 6cb6413 commit 38f2b1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ private void runTestCases(String tableName, List<TestCase> testCases)
.collect(joining("), (", "VALUES (", ")")));
}
finally {
getTrinoExecutor().execute("DROP TABLE IF EXISTS " + tableName);
getTrinoExecutor().execute("DROP TABLE " + tableName);
}
}

Expand Down

0 comments on commit 38f2b1e

Please sign in to comment.