- Notifications
You must be signed in to change notification settings - Fork929
chore: add a unit test to ensure correct behaviour with multiple replicas and rename LifecycleTicker to AutobuildTicker#1420
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
codecovbot commentedMay 13, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #1420 +/- ##==========================================+ Coverage 58.80% 67.15% +8.35%========================================== Files 287 287 Lines 19331 19331 Branches 244 244 ==========================================+ Hits 11367 12982 +1615+ Misses 6747 5007 -1740- Partials 1217 1342 +125
Continue to review full report at Codecov.
|
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.
We should probably change the title to reflect what this changes, but LGTM!
* chore: add a unit test to ensure correct behaviour with multiple coderd replicas* nit: rename LifecycleTicker to AutobuildTicker
This PR adds another unit test to
autobuild/executor
to validate the correct behaviour when multiple coderd instances run in parallel.Note: this only works if you use a "real" database, as
coderdtest.New
by default uses a separate fake database instance per coderd.