Skip to content
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

fix: return bad error after parallel running #483

Conversation

VladimirStepanov
Copy link
Contributor

@VladimirStepanov VladimirStepanov commented Jul 9, 2022

Hello) I found a small bug in ParallelContainers method. Fixed!

@codecov
Copy link

codecov bot commented Jul 9, 2022

Codecov Report

Merging #483 (0c1f6b2) into main (3c8722d) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #483      +/-   ##
==========================================
+ Coverage   70.30%   70.45%   +0.14%     
==========================================
  Files          21       21              
  Lines        2014     2014              
==========================================
+ Hits         1416     1419       +3     
+ Misses        478      476       -2     
+ Partials      120      119       -1     
Impacted Files Coverage Δ
parallel.go 97.10% <100.00%> (ø)
docker.go 71.67% <0.00%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c8722d...0c1f6b2. Read the comment docs.

@@ -114,7 +114,7 @@ func ParallelContainers(ctx context.Context, reqs ParallelContainerRequest, opt

<-waitRes

if len(errors) == 0 {
if len(errors) != 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!! Thanks for the quick fix!!

@mdelapenya mdelapenya merged commit 5e23afe into testcontainers:main Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants