Skip to content

Commit efab77d

Browse files
authored
Skip one more history check in cloud (temporalio#583)
* Skip one more history check in cloud
1 parent 7111e23 commit efab77d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: features/update/task_failure/feature.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package task_failure
22

33
import (
44
"context"
5+
"os"
56
"strings"
67

78
"github.com/temporalio/features/features/update/updateutil"
@@ -63,8 +64,10 @@ var Feature = harness.Feature{
6364
runner.Require.NoError(runner.Client.SignalWorkflow(ctx, run.GetID(), run.GetRunID(), shutdownSignal, nil))
6465
runner.Require.NoError(run.Get(ctx, nil))
6566

66-
runner.Require.Equal(1, countPanicWFTFailures(ctx, runner),
67-
"update handler panic should have caused 1 WFT Failure")
67+
if os.Getenv("TEMPORAL_FEATURES_DISABLE_WORKFLOW_COMPLETION_CHECK") != "" {
68+
runner.Require.Equal(1, countPanicWFTFailures(ctx, runner),
69+
"update handler panic should have caused 1 WFT Failure")
70+
}
6871

6972
updateutil.RequireNoUpdateRejectedEvents(ctx, runner)
7073
return run, ctx.Err()

0 commit comments

Comments
 (0)