-
-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stopping scheduler waits for all jobs to finish (#238)
* fix: stopping scheduler waits for all jobs to finish * fixing race condition * removing runningJobsWg from executor's state * rearranging test assertion * Update scheduler_test.go Co-authored-by: John Roesler <[email protected]> * test uses atomic int Co-authored-by: John Roesler <[email protected]>
- Loading branch information
1 parent
971b91f
commit 47b19f0
Showing
3 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters