Skip to content

Commit 64a0f90

Browse files
Fix sequences e2e test
Signed-off-by: Rohit Nayak <[email protected]>
1 parent 37bd0ec commit 64a0f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/test/endtoend/vreplication/partial_movetables_seq_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ func TestPartialMoveTablesWithSequences(t *testing.T) {
505505
wf80Dash.switchTraffic()
506506
expectedSwitchOutput := fmt.Sprintf("SwitchTraffic was successful for workflow %s.%s\n\nStart State: Reads Not Switched. Writes Not Switched\nCurrent State: Reads partially switched, for shards: %s. Writes partially switched, for shards: %s\n\n",
507507
targetKs, wfName, shard, shard)
508-
require.Equal(t, expectedSwitchOutput, lastOutput)
508+
require.Contains(t, lastOutput, expectedSwitchOutput)
509509

510510
// Confirm global routing rules -- everything should still be routed
511511
// to the source side, customer, globally.
@@ -562,7 +562,7 @@ func TestPartialMoveTablesWithSequences(t *testing.T) {
562562

563563
expectedSwitchOutput := fmt.Sprintf("SwitchTraffic was successful for workflow %s.%s\n\nStart State: Reads partially switched, for shards: 80-. Writes partially switched, for shards: 80-\nCurrent State: All Reads Switched. All Writes Switched\n\n",
564564
targetKs, wfName)
565-
require.Equal(t, expectedSwitchOutput, lastOutput)
565+
require.Contains(t, lastOutput, expectedSwitchOutput)
566566

567567
// Confirm global routing rules: everything should still be routed
568568
// to the source side, customer, globally.

0 commit comments

Comments
 (0)