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
[CORE-2238] Loki in testpachd fast-follow #9913
base: master
Are you sure you want to change the base?
Conversation
…8-loki-in-testpachd
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## jonathan/core-2238-loki-in-testpachd #9913 +/- ##
========================================================================
- Coverage 58.05% 58.05% -0.01%
========================================================================
Files 609 609
Lines 74034 74034
========================================================================
- Hits 42982 42978 -4
- Misses 30499 30508 +9
+ Partials 553 548 -5 ☔ View full report in Codecov by Sentry. |
src/testing/testpachd/main.go
Outdated
ctx = pctx.Background("cleanup") | ||
if err := clean.Cleanup(ctx); err != nil { | ||
ctx := pctx.Background("cleanup") | ||
if err = clean.Cleanup(ctx); err != nil { |
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.
I think an error when cleaning up is probably worth not deleting the batch logs? That way it can be debugged.
A sister of setupPachctlConfig.
src/testing/testpachd/main.go
Outdated
// errors cause this, as does SIGINT. | ||
<-ctx.Done() | ||
if err := <-errCh; err != nil { | ||
// wait for pachd to complete |
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.
There’s no need to wait for context cancellation, since the run goroutine will close errCh
when it completes.
…8-loki-in-testpachd
37b4b6f
to
f02a218
Compare
No description provided.