Skip to content

Commit f2e4dfa

Browse files
committed
Update standard_test.go
1 parent b8f9758 commit f2e4dfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/workflows/wasm/host/standard_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ func TestStandardModeSwitch(t *testing.T) {
129129
})
130130
// We want to make sure time.Sleep() is called at least twice in DON mode and once in node Mode
131131
mockExecutionHelper.EXPECT().GetDONTime(mock.Anything).RunAndReturn(func(ctx context.Context) (time.Time, error) {
132-
donCall1 = true
133132
if nodeCall {
134133
donCall2 = true
134+
} else {
135+
donCall1 = true
135136
}
136137
return time.Now(), nil
137138
})

0 commit comments

Comments
 (0)