-
Notifications
You must be signed in to change notification settings - Fork 60
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
tests/e2e: General fixes to the operator script #338
tests/e2e: General fixes to the operator script #338
Conversation
tests/e2e/operator.sh
Outdated
@@ -266,7 +265,7 @@ wait_for_stabilization() { | |||
count=0 | |||
while true; do | |||
change=0 | |||
pod_info=$(kubectl get pods -n confidential-containers-system -o=jsonpath='{range .items[*]}{.metadata.name}{" "}{range .status.containerStatuses[*]}{.name}{" "}{.restartCount}{"\n"}{end}{end}') | |||
pod_info=$(kubectl get pods -n $op_ns -o=jsonpath='{range .items[*]}{.metadata.name}{" "}{range .status.containerStatuses[*]}{.name}{" "}{.restartCount}{"\n"}{end}{end}') |
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.
To be sure it'd be better to quotate the $op_ns
(just in case a space/whatever-weird-char is ever added)
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.
Thanks, unifying is always good (although I have to say I'm a 4-space person :-/). Please consider the quotation, even though it should not be needed it's a good practice to do so.
b3e70e1
to
447cdc3
Compare
@ldoktor thanks for the feedback and changes applied :) |
lgtm! |
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.
Thanks, lgtm
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.
Thanks @GabyCT !
Let's see if #342 fixes the e2e-pr failures |
This PR introduces general fixes to the test/e2e operator script, like fixing the indentation, using a variable that has been already declared and use in the script. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
447cdc3
to
25ab0f5
Compare
This PR introduces general fixes to the test/e2e operator script, like fixing the indentation, using a variable that has been already declared and use in the script.