Skip to content

Commit

Permalink
2 minute timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 6, 2024
1 parent 9a3d50d commit a20f178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow/e2e/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func RegisterWorkflowsAndActivities(t *testing.T, env *testsuite.TestWorkflowEnv
t.Fatalf("unable to create catalog connection pool: %v", err)
}

// set a 300 second timeout for the workflow to execute a few runs.
env.SetTestTimeout(300 * time.Second)
// set a 5 minute timeout for the workflow to execute a few runs.
env.SetTestTimeout(5 * time.Minute)

env.RegisterWorkflow(peerflow.CDCFlowWorkflowWithConfig)
env.RegisterWorkflow(peerflow.SyncFlowWorkflow)
Expand Down Expand Up @@ -148,7 +148,7 @@ func EnvWaitForEqualTablesWithNames(
t := suite.T()
t.Helper()

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

suffix := suite.Suffix()
Expand Down

0 comments on commit a20f178

Please sign in to comment.