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 runner e2e that block the tests on error #1809

Merged
merged 1 commit into from
May 5, 2020

Conversation

NicolasMahe
Copy link
Member

fix runner e2e that block the tests on error

to remember: when a require. function "fail" it will not run other t.Run functions but will run the remaining code in the parent function.

@NicolasMahe NicolasMahe added this to the next milestone May 5, 2020
@NicolasMahe NicolasMahe self-assigned this May 5, 2020
@NicolasMahe NicolasMahe requested a review from antho1404 May 5, 2020 10:05
@NicolasMahe NicolasMahe added the release:fix Pull requests that fix something label May 5, 2020
@antho1404
Copy link
Member

Not sure I understand this fix? I don't see any problem merging that but not sure what it actually fix

@NicolasMahe
Copy link
Member Author

Not sure I understand this fix? I don't see any problem merging that but not sure what it actually fix

behavior in the dev version:
if the previous test fails (https://github.com/mesg-foundation/engine/pull/1809/files#diff-b45f199c25c42d4525f0000d48498a06R68-R70) then the stream.Recv() blocks forever and the e2e tests never fail properly.

behavior in this branch version:
if the previous test fails, then the test following test (that should block with stream.Recv()) is simply never skipped and the e2e tests fails properly.

@NicolasMahe NicolasMahe merged commit df2fa1a into dev May 5, 2020
@NicolasMahe NicolasMahe deleted the feature/fix-e2e-error-blocking branch May 5, 2020 12:25
@NicolasMahe NicolasMahe mentioned this pull request May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix Pull requests that fix something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants