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 _get_existing_parent behaviour #253

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

GlassOfWhiskey
Copy link
Member

This commit fixes a wrong behaviour of the _get_existing_parent function in the SSHConnector class, which led to an infinite loop when the working directory was not existing.

This commit also add an integration test for scheduling on remote locations to prevent regressions.

@GlassOfWhiskey GlassOfWhiskey force-pushed the fix-ssh-available-locations branch 5 times, most recently from 765dc7a to 27278a6 Compare October 9, 2023 12:50
This commit fixes a wrong behaviour of the `_get_existing_parent`
function in the `SSHConnector` class, which led to an infinite loop when
the working directory was not existing.

This commit also add an integration test for scheduling on remote
locations to prevent regressions.
@GlassOfWhiskey GlassOfWhiskey force-pushed the fix-ssh-available-locations branch from 27278a6 to d085b09 Compare October 9, 2023 21:02
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c9770d0) 65.55% compared to head (d085b09) 65.68%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage   65.55%   65.68%   +0.12%     
==========================================
  Files          82       82              
  Lines       10147    10147              
  Branches     2397     2397              
==========================================
+ Hits         6652     6665      +13     
+ Misses       3068     3056      -12     
+ Partials      427      426       -1     
Files Coverage Δ
streamflow/deployment/connector/ssh.py 80.96% <100.00%> (+3.80%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GlassOfWhiskey GlassOfWhiskey merged commit 4b66eab into master Oct 9, 2023
@GlassOfWhiskey GlassOfWhiskey deleted the fix-ssh-available-locations branch October 9, 2023 21:42
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