File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ func TestAPI(t *testing.T) {
432
432
433
433
// Make sure the ticker function has been registered
434
434
// before advancing the clock.
435
- tickerTrap .MustWait (ctx ).Release ( )
435
+ tickerTrap .MustWait (ctx ).MustRelease ( ctx )
436
436
tickerTrap .Close ()
437
437
438
438
for i := range tt .wantStatus {
@@ -486,7 +486,7 @@ func TestAPI(t *testing.T) {
486
486
nowRecreateSuccessTrap .Close ()
487
487
// The timestamp for the error will be stored, which gives
488
488
// us a good anchor point to know when to do our request.
489
- nowRecreateErrorTrap .MustWait (ctx ).Release ( )
489
+ nowRecreateErrorTrap .MustWait (ctx ).MustRelease ( ctx )
490
490
nowRecreateErrorTrap .Close ()
491
491
492
492
// Advance the clock to run the devcontainer state update routine.
@@ -507,7 +507,7 @@ func TestAPI(t *testing.T) {
507
507
}
508
508
509
509
// Ensure the devcontainer ends up in success state.
510
- nowRecreateSuccessTrap .MustWait (ctx ).Release ( )
510
+ nowRecreateSuccessTrap .MustWait (ctx ).MustRelease ( ctx )
511
511
nowRecreateSuccessTrap .Close ()
512
512
513
513
// Advance the clock to run the devcontainer state update routine.
You can’t perform that action at this time.
0 commit comments