Skip to content

Commit

Permalink
Drop table after verifying the behavior in testRenameTable
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Mar 2, 2022
1 parent 7ed64c7 commit 102ab2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1785,6 +1785,7 @@ public void testRenameTable()
String renamedTable = "test_rename_new_" + randomTableSuffix();
if (!hasBehavior(SUPPORTS_RENAME_TABLE)) {
assertQueryFails("ALTER TABLE " + tableName + " RENAME TO " + renamedTable, "This connector does not support renaming tables");
assertUpdate("DROP TABLE " + tableName);
return;
}

Expand Down

0 comments on commit 102ab2a

Please sign in to comment.