-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduler shutdown gracefully #1951
Scheduler shutdown gracefully #1951
Conversation
c951284
to
22be2ef
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1951 +/- ##
==========================================
+ Coverage 91.87% 91.88% +0.01%
==========================================
Files 165 165
Lines 28125 28168 +43
==========================================
+ Hits 25840 25883 +43
- Misses 1687 1688 +1
+ Partials 598 597 -1 ☔ View full report in Codecov by Sentry. |
22be2ef
to
e1dde1e
Compare
this will wait on all scheduler goroutines to finish when server is shutting down. it will fix these types of test racing errors: 2023-10-20T08:06:10.2729247Z testing.go:1206: TempDir RemoveAll cleanup: unlinkat /tmp/TestPeriodicallySignaturesErr2733177038: directory not empty |
e1dde1e
to
baafdc7
Compare
Conflicts and rebase? |
ea3cc32
to
5ad1c4f
Compare
37f4d99
to
2a9453d
Compare
966ca4d
to
2537af6
Compare
wait for workers to finish before exiting should fix tests reporting they couldn't remove rootDir because it's being written by tasks Signed-off-by: Petu Eusebiu <[email protected]>
2537af6
to
c6eaabf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What type of PR is this?
Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.