@@ -62,7 +62,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_WhileRunning() {
6262 activityFunction := func () (string , error ) {
6363 startedActivityCount .Add (1 )
6464 if startedActivityCount .Load () == 1 {
65- env .WaitForChannel (ctx , activityPausedCn )
65+ env .WaitForChannel (activityPausedCn )
6666 return "" , activityErr
6767 }
6868 return "done!" , nil
@@ -115,7 +115,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_WhileRunning() {
115115 }, 5 * time .Second , 500 * time .Millisecond )
116116
117117 // unblock the activity
118- env .SendToChannel (ctx , activityPausedCn )
118+ env .SendToChannel (activityPausedCn )
119119 // make sure activity is paused on server and completed on the worker
120120 s .EventuallyWithT (func (t * assert.CollectT ) {
121121 description , err := env .SdkClient ().DescribeWorkflowExecution (ctx , workflowRun .GetID (), workflowRun .GetRunID ())
@@ -208,7 +208,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_IncreaseAttemptsO
208208 activityFunction := func () (string , error ) {
209209 startedActivityCount .Add (1 )
210210 if startedActivityCount .Load () == 1 {
211- env .WaitForChannel (ctx , activityPausedCn )
211+ env .WaitForChannel (activityPausedCn )
212212 return "" , activityErr
213213 }
214214 if shouldSucceed .Load () {
@@ -264,7 +264,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_IncreaseAttemptsO
264264 }, 5 * time .Second , 500 * time .Millisecond )
265265
266266 // End the activity
267- env .SendToChannel (ctx , activityPausedCn )
267+ env .SendToChannel (activityPausedCn )
268268
269269 s .EventuallyWithT (func (t * assert.CollectT ) {
270270 description , err := env .SdkClient ().DescribeWorkflowExecution (ctx , workflowRun .GetID (), workflowRun .GetRunID ())
@@ -559,7 +559,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_WithReset() {
559559 activityErr := errors .New ("bad-luck-please-retry" )
560560 return "" , activityErr
561561 }
562- env .WaitForChannel (ctx , activityCompleteCn )
562+ env .WaitForChannel (activityCompleteCn )
563563 return "done!" , nil
564564 }
565565
@@ -632,7 +632,7 @@ func (s *ActivityAPIPauseClientTestSuite) TestActivityPauseApi_WithReset() {
632632 }, 5 * time .Second , 100 * time .Millisecond )
633633
634634 // let activity finish
635- env .SendToChannel (ctx , activityCompleteCn )
635+ env .SendToChannel (activityCompleteCn )
636636
637637 // wait for workflow to finish
638638 var out string
0 commit comments