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

Flakey FlowRunnerYamlTest #2160

Merged

Conversation

toby-allsopp
Copy link
Contributor

@toby-allsopp toby-allsopp commented Mar 26, 2019

This fixes a couple of reasons for FlowRunnerYamlTest failing intermittently.

Toby Allsopp added 2 commits March 26, 2019 18:07
…ow status

About once every 200 executions on my machine this test was failing due to
the flow being killed instead of failed because jobs A and B were still in
the running state when the flow finished. Waiting for the flow to catch up
with their failures before letting job C succeed (hopefully) eliminates
this possibility.
I was seeing occasional test failures due to multiple concurrent runner
threads. In particular I was sseing a failure of testAlertOnFlowFinished
due to missing the alertOnError call, which actually did happen but only
after the test had finished. Waiting for the thread the exit before
verifying that the call occurred makes this more reliable.
@codecov
Copy link

codecov bot commented Mar 26, 2019

Codecov Report

Merging #2160 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2160      +/-   ##
============================================
+ Coverage     33.87%   33.88%   +0.01%     
- Complexity     2815     2817       +2     
============================================
  Files           421      421              
  Lines         29859    29859              
  Branches       3780     3780              
============================================
+ Hits          10114    10118       +4     
+ Misses        18842    18839       -3     
+ Partials        903      902       -1
Impacted Files Coverage Δ Complexity Δ
...erver/src/main/java/azkaban/execapp/JobRunner.java 70.23% <0%> (+0.85%) 87% <0%> (+2%) ⬆️

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 628645b...9cb567c. Read the comment docs.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 4424

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 37.026%

Totals Coverage Status
Change from base Build 4417: 0.01%
Covered Lines: 11003
Relevant Lines: 29717

💛 - Coveralls

Copy link
Contributor

@burgerkingeater burgerkingeater left a comment

Choose a reason for hiding this comment

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

thanks!

@burgerkingeater burgerkingeater merged commit 20a77ba into azkaban:master Mar 26, 2019
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