diff --git a/go/test/endtoend/vreplication/resharding_workflows_v2_test.go b/go/test/endtoend/vreplication/resharding_workflows_v2_test.go index 86e88fc08ff..0737076e496 100644 --- a/go/test/endtoend/vreplication/resharding_workflows_v2_test.go +++ b/go/test/endtoend/vreplication/resharding_workflows_v2_test.go @@ -244,8 +244,9 @@ func testReshardV2Workflow(t *testing.T) { createAdditionalCustomerShards(t, "-40,40-80,80-c0,c0-") reshard2Start(t, "-80,80-", "-40,40-80,80-c0,c0-") - - checkStates(t, wrangler.WorkflowStateNotStarted, wrangler.WorkflowStateNotSwitched) + if !strings.Contains(lastOutput, "Workflow started successfully") { + t.Fail() + } validateReadsRouteToSource(t, "replica") validateWritesRouteToSource(t) @@ -258,7 +259,9 @@ func testMoveTablesV2Workflow(t *testing.T) { // test basic forward and reverse flows setupCustomerKeyspace(t) moveTables2Start(t, "customer") - checkStates(t, wrangler.WorkflowStateNotStarted, wrangler.WorkflowStateNotSwitched) + if !strings.Contains(lastOutput, "Workflow started successfully") { + t.Fail() + } validateReadsRouteToSource(t, "replica") validateWritesRouteToSource(t)