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

Update exit code reporting #536

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Update exit code reporting #536

merged 1 commit into from
Apr 3, 2019

Conversation

bootstraponline
Copy link
Contributor

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #536 into master will increase coverage by 0.29%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #536      +/-   ##
============================================
+ Coverage     79.29%   79.59%   +0.29%     
- Complexity      557      561       +4     
============================================
  Files            77       77              
  Lines          2106     2102       -4     
  Branches        279      276       -3     
============================================
+ Hits           1670     1673       +3     
+ Misses          267      265       -2     
+ Partials        169      164       -5

@bootstraponline bootstraponline merged commit bd6e444 into master Apr 3, 2019
@bootstraponline bootstraponline deleted the matrix_rollup branch April 3, 2019 23:15
@gtroshin
Copy link

gtroshin commented Apr 4, 2019

Will it change the flaky-test-attempts logic somehow? The exit code now is 0 even if there is some matrix failed.

@bootstraponline
Copy link
Contributor Author

FYI: The matrix roll-up change has been released.

Hmm. FTL said the matrix status should be correct now. They pinged me yesterday.

@bootstraponline
Copy link
Contributor Author

bootstraponline commented Apr 4, 2019

@gtroshin I tested flank master and I'm getting the correct exit code (1) when the tests fail every time when using flaky-test-attempts. If a test passes at least once then the matrix status will be successful. If there are any issues, let me know. I think everything is working as expected now that FTL has fixed the bug on their side.

@gtroshin
Copy link

gtroshin commented Apr 5, 2019

@bootstraponline Ok, thank you! Then I will update to 5.0.2 :)

@gtroshin
Copy link

@bootstraponline little bit late response.

For the one android project, we use v5.0.1 and it works as expected. When there is at list one Re-attempt passed it exit with 0 status code.

But I just upgraded to the v6.2.2 for our iOS project - the result is it exit with 1 status code in case there are any failures in some matrices.

@bootstraponline
Copy link
Contributor Author

It sounds like I should restore the hack of using all the XML files to calculate the exit code.

Firebase's retry is defective by design.

I'll work on this soon.

bootstraponline added a commit that referenced this pull request Jun 28, 2019
@bootstraponline
Copy link
Contributor Author

I reverted the commit here:
#572

bootstraponline added a commit that referenced this pull request Jun 28, 2019
@bootstraponline
Copy link
Contributor Author

I updated #552

The fix has been released in flank v6.2.3

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.

3 participants