Skip to content

Commit

Permalink
more helper, missed a CancelWorkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 6, 2024
1 parent 6809ab3 commit d88f76d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flow/e2e/bigquery/peer_flow_bq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1586,6 +1586,8 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Soft_Delete_UD_Same_Batch() {
return e2eshared.CheckEqualRecordBatches(s.t, pgRows, rows)
},
)

env.CancelWorkflow()
}()

env.ExecuteWorkflow(peerflow.CDCFlowWorkflowWithConfig, config, &limits, nil)
Expand Down
2 changes: 2 additions & 0 deletions flow/e2e/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ func EnvWaitForEqualTablesWithNames(
t.Helper()

EnvWaitFor(t, env, time.Minute, reason, func(ctx context.Context) bool {
t.Helper()

suffix := suite.Suffix()
pool := suite.Pool()
pgRows, err := GetPgRows(pool, suffix, srcTable, cols)
Expand Down

0 comments on commit d88f76d

Please sign in to comment.