-
Notifications
You must be signed in to change notification settings - Fork 377
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
Drop test_db
#788
Drop test_db
#788
Conversation
We are not using it much now, but it makes `task env-up` much slower.
var portsCheckError error | ||
|
||
wg.Add(1) | ||
go func() { | ||
defer wg.Done() | ||
|
||
logger.Info("Waiting for port 37017 to be up...") | ||
portsCheckError = waitForPort(portsCtx, 37017) | ||
}() | ||
|
||
wg.Add(1) | ||
go func() { | ||
defer wg.Done() | ||
|
||
logger.Info("Waiting for port 5432 to be up...") | ||
portsCheckError = waitForPostgresPort(portsCtx, 5432) | ||
}() |
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.
Among other things, there was a data race – two goroutines assigned to the same variable portsCheckError
Codecov Report
@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 59.27% 59.27%
=======================================
Files 212 212
Lines 9348 9348
=======================================
Hits 5541 5541
Misses 3163 3163
Partials 644 644
Flags with carried forward coverage won't be shown. Click here to find out more. |
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
We never had |
We are not using it much now, but it makes
task env-up
much slower.Checklist
task all
passes.See CONTRIBUTING.md for more details.