Skip to content

Commit

Permalink
[PLAT-15928][xCluster][localProvider] Deflake testXClusterConfigHandl…
Browse files Browse the repository at this point in the history
…eDroppedAndReAddedTable

Summary:
Previously, the new table that was created had a different schema than the dropped one and it could lead to issues if bootstrapping was skipped. It creates the new table with the same schema to make sure the test case runs successfully even if the bootstrapping is skipped.

The issue was observed at https://jenkins.dev.yugabyte.com/job/platform-phabricator-pipeline/33407/consoleFull.

Test Plan: Ran the test locally and it passed.

Reviewers: cwang, vbansal, sanketh

Reviewed By: cwang

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D39551
  • Loading branch information
shahrooz1997 committed Oct 29, 2024
1 parent eb37f4f commit ea624df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ public void testXClusterConfigHandleDroppedAndReAddedTable() throws InterruptedE
source,
YUGABYTE_DB,
String.format(
"CREATE TABLE %s (id int PRIMARY KEY, name text)",
"CREATE TABLE %s (id int, name text, age int, PRIMARY KEY(id, name))",
tableIdToName.get(tableToDropId)),
10);
assertTrue(ysqlResponse.isSuccess());
Expand Down

0 comments on commit ea624df

Please sign in to comment.