From 5a153093e1a2849f3af972e5e0ec7cee8de36de2 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Fri, 14 May 2021 13:23:37 +0200 Subject: [PATCH] Fixed the rest of wf tests --- pkg/wfexec/session_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/wfexec/session_test.go b/pkg/wfexec/session_test.go index f125ffcd6..57f320e7e 100644 --- a/pkg/wfexec/session_test.go +++ b/pkg/wfexec/session_test.go @@ -175,7 +175,8 @@ func TestSession_Delays(t *testing.T) { // push in the input input := &expr.Vars{} input.Set("inout", "foo") - req.NoError(ses.Resume(ctx, waitForInputStateId.Load(), input)) + _, err := ses.Resume(ctx, waitForInputStateId.Load(), input) + req.NoError(err) req.False(ses.Suspended()) req.NoError(ses.Wait(ctx))