-
Notifications
You must be signed in to change notification settings - Fork 306
Improvements in smoke tests #2517
Improvements in smoke tests #2517
Conversation
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.
LGTM ! I just have some thoughts on a few things to simplify the code and some nitty gritty things. I'll also execute and try this out next async to the review
test/smoke/packages/local-path-storage/0.0.20/local-path-storage-test.sh
Outdated
Show resolved
Hide resolved
test/smoke/packages/local-path-storage/0.0.20/local-path-storage-test.sh
Outdated
Show resolved
Hide resolved
test/smoke/packages/local-path-storage/0.0.20/local-path-storage-test.sh
Outdated
Show resolved
Hide resolved
test/smoke/packages/local-path-storage/0.0.20/local-path-storage-test.sh
Outdated
Show resolved
Hide resolved
In short, these are some things we could do as part of this PR or another PR
|
- Kubectl wait command is used - adding set -o - using kubectl get -o jsonpath or kubectl get -o template for getting status, phase - Change the port from 80 to 8080 Signed-off-by: Aman Sharma <[email protected]>
d5e552d
to
2478ea8
Compare
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.
Overall looks good to me! Great work 😄 We can merge this, let me know what you think about the kubectl wait
error case alone
test/smoke/packages/local-path-storage/0.0.20/local-path-storage-test.sh
Show resolved
Hide resolved
thanks @karuppiah7890 agree with the |
Makes sense! 👍 |
Btw, the port thing, I didn't realize that it was just a service exposing it. I was thinking it was a port-forward, sorry! Anyways, 8080 is fine too 😅 |
What this PR does / why we need it
This PR is a follow-up PR to #2246.The changes in this PR are:
test/smoke
are improved as per the review comments in the last PR.test/gatekeeper
is hooked in thetest/smoke
Details for the Release Notes (PLEASE PROVIDE)
Which issue(s) this PR fixes
Fixes: # NA
Describe testing done for PR
make smoke-test
is triggered to run all the smoke tests.Special notes for your reviewer
Please refer to #2246 for complete picture.