Skip to content

Commit

Permalink
debug waitfor
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 4, 2024
1 parent 49f682c commit b3d99a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/e2e/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ func EnvWaitFor(t *testing.T, env *testsuite.TestWorkflowEnvironment, timeout ti
defer cleanup()
deadline, _ := ctx.Deadline()
for !f(ctx) {
t.Log(time.Now(), deadline)
if time.Now().Compare(deadline) >= 0 {
t.Error("WaitFor timed out", name)
env.CancelWorkflow()
Expand Down

0 comments on commit b3d99a9

Please sign in to comment.