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

[LIVY-556] HearbeatExpired is not stubbed correctly in test cases #143

Closed
wants to merge 1 commit into from

Conversation

meisam
Copy link
Contributor

@meisam meisam commented Feb 7, 2019

What changes were proposed in this pull request?

Add the proper stubbing to all mocked interactive sessions to make sure session heartbeats work correctly.

How was this patch tested?

This change only fixes the test cases. It is not changing production code.

@codecov-io
Copy link

Codecov Report

Merging #143 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #143      +/-   ##
============================================
- Coverage     68.79%   68.76%   -0.04%     
+ Complexity      905      904       -1     
============================================
  Files           100      100              
  Lines          5650     5650              
  Branches        846      846              
============================================
- Hits           3887     3885       -2     
- Misses         1211     1212       +1     
- Partials        552      553       +1
Impacted Files Coverage Δ Complexity Δ
...ain/java/org/apache/livy/rsc/driver/RSCDriver.java 77.96% <0%> (-0.85%) 41% <0%> (-1%)

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 80daade...e653d44. Read the comment docs.

1 similar comment
@codecov-io
Copy link

codecov-io commented Feb 8, 2019

Codecov Report

Merging #143 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #143      +/-   ##
============================================
- Coverage     68.79%   68.76%   -0.04%     
+ Complexity      905      904       -1     
============================================
  Files           100      100              
  Lines          5650     5650              
  Branches        846      846              
============================================
- Hits           3887     3885       -2     
- Misses         1211     1212       +1     
- Partials        552      553       +1
Impacted Files Coverage Δ Complexity Δ
...ain/java/org/apache/livy/rsc/driver/RSCDriver.java 77.96% <0%> (-0.85%) 41% <0%> (-1%)

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 80daade...e653d44. Read the comment docs.

@alex-the-man
Copy link
Contributor

LGTM

@vanzin
Copy link

vanzin commented Feb 15, 2019

Merging to master.

@asfgit asfgit closed this in 7d9b453 Feb 15, 2019
@meisam meisam deleted the LIVY-556 branch February 16, 2019 20:33
kai-chi pushed a commit to logicalclocks/incubator-livy that referenced this pull request Jul 29, 2019
## What changes were proposed in this pull request?
Add the proper stubbing to all mocked interactive sessions to make sure session heartbeats work correctly.

## How was this patch tested?
This change only fixes the test cases. It is not changing production code.

Author: Meisam Fathi <meisam.fathi@gmail.com>

Closes apache#143 from meisam/LIVY-556.
kai-chi pushed a commit to kai-chi/incubator-livy that referenced this pull request Jul 29, 2019
## What changes were proposed in this pull request?
Add the proper stubbing to all mocked interactive sessions to make sure session heartbeats work correctly.

## How was this patch tested?
This change only fixes the test cases. It is not changing production code.

Author: Meisam Fathi <meisam.fathi@gmail.com>

Closes apache#143 from meisam/LIVY-556.
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.

None yet

4 participants