Skip to content

Commit

Permalink
Avoid flakiness in test when dropping potentially inexistent table
Browse files Browse the repository at this point in the history
  • Loading branch information
findinpath authored and wendigo committed May 24, 2024
1 parent 3e02247 commit b061560
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 " + tableName);
getTrinoExecutor().execute("DROP TABLE IF EXISTS " + tableName);
}
}

Expand Down

0 comments on commit b061560

Please sign in to comment.