Skip to content

Commit

Permalink
chore: unflake ITAutogeneratedAdminClientTest (#3260)
Browse files Browse the repository at this point in the history
Fixes #3239
  • Loading branch information
olavloite authored Aug 8, 2024
1 parent 41673d7 commit b44104f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ private Database createAndUpdateDatabase(

private String getCreateTableStatement() {
if (dialect == DatabaseDialect.POSTGRESQL) {
return "CREATE TABLE T (" + " \"K\" VARCHAR PRIMARY KEY" + ")";
return "CREATE TABLE IF NOT EXISTS T (" + " \"K\" VARCHAR PRIMARY KEY" + ")";
} else {
return "CREATE TABLE T (" + " K STRING(MAX)" + ") PRIMARY KEY (K)";
return "CREATE TABLE IF NOT EXISTS T (" + " K STRING(MAX)" + ") PRIMARY KEY (K)";
}
}

Expand Down

0 comments on commit b44104f

Please sign in to comment.