-
Notifications
You must be signed in to change notification settings - Fork 105
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
[develop] Modify the check_login_stopped.sh script to directly use TG name to query #2524
[develop] Modify the check_login_stopped.sh script to directly use TG name to query #2524
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2524 +/- ##
========================================
Coverage 76.06% 76.06%
========================================
Files 13 13
Lines 1876 1876
========================================
Hits 1427 1427
Misses 449 449
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…uery. Based on the lastest change in cli
b6fc2c9
to
daa8e2d
Compare
@@ -137,3 +140,11 @@ def get_primary_ip | |||
|
|||
primary_ip | |||
end | |||
|
|||
def get_target_group_name(cluster_name, pool_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a ChefSpec test for this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
@@ -0,0 +1,22 @@ | |||
require_relative '../../../libraries/helpers' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. The get_target_group_name
function is in helpers.rb
…uery (aws#2524) Reduce the check steps when checking if LoginNodes stopped. So that we can delete the checking NLB loop to reduce running time.
…uery (aws#2524) Reduce the check steps when checking if LoginNodes stopped. So that we can delete the checking NLB loop to reduce running time.
…uery (aws#2524) Reduce the check steps when checking if LoginNodes stopped. So that we can delete the checking NLB loop to reduce running time.
Description of changes
Tests
References
Checklist
develop
add the branch name as prefix in the PR title (e.g.[release-3.6]
).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.