Skip to content

Commit

Permalink
Fix flaky TestNomadRunnerManager_Load unit test
Browse files Browse the repository at this point in the history
by giving Poseidon more time to cancel the execution before destroying the runner.
  • Loading branch information
mpass99 committed Sep 27, 2024
1 parent 636a30e commit 73a5371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/runner/nomad_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ func (s *MainTestSuite) TestNomadRunnerManager_Load() {
}

cancelExecution()
<-time.After(tests.ShortTimeout)
err = r.Destroy(ErrLocalDestruction)
s.Require().NoError(err)
})
Expand Down

0 comments on commit 73a5371

Please sign in to comment.