Skip to content

Commit d874161

Browse files
famartingJoshVanL
andauthored
Update tests/worker_test.go
Co-authored-by: Josh van Leeuwen <[email protected]> Signed-off-by: Fabian Martinez <[email protected]>
1 parent 0e5b9cb commit d874161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/worker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func Test_TryProcessSingleOrchestrationWorkItem_Idempotency(t *testing.T) {
103103
State: runtimestate.NewOrchestrationRuntimeState(workflowID, nil, []*protos.HistoryEvent{}),
104104
}
105105

106-
ctx, cancel := context.WithCancel(t.Context())
106+
ctx, cancel := context.WithCancel(context.Background())
107107
t.Cleanup(cancel)
108108

109109
completed := atomic.Bool{}

0 commit comments

Comments
 (0)