-
Notifications
You must be signed in to change notification settings - Fork 98
[fix] the expected network policy content for the ODH execution #1454
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] the expected network policy content for the ODH execution #1454
Conversation
@@ -275,7 +275,9 @@ | |||
${CR_name} = Get User CR Notebook Name username=${TEST_USER.USERNAME} | |||
${policy_ctrl} = Run | |||
... oc get networkpolicy ${CR_name}-ctrl-np -n ${NOTEBOOKS_NAMESPACE} -o json | jq '.spec.ingress[0]' | |||
${expected_policy_ctrl} = Get File ods_ci/tests/Resources/Files/expected_ctrl_np.txt | |||
# ${expected_policy_ctrl} = Get File ods_ci/tests/Resources/Files/expected_ctrl_np.txt | |||
${rc} ${expected_policy_ctrl} = Run And Return Rc And Output |
Check notice
Code scanning / Robocop
Variable '{{ name }}' is assigned but not used
ods_ci/tests/Tests/100__deploy/100__installation/102__post_install.robot
Fixed
Show fixed
Hide fixed
Robot Results
|
7f93aa0
to
730c8f8
Compare
d2ef219
730c8f8
to
d2ef219
Compare
I'm sorry guys, I noticed I kept one unnecessary commented line in this PR. Thus I updated PR by deleting that line and also added ignore for the line length warning. Would be glad if you could review again. Thanks! |
This was failing with ODH because there is a different network policy content. I think that the content in ODH is as expected, as such, I have updated our test to match this difference and work properly on both ODH and RHOAI installations.
d2ef219
to
4ad5314
Compare
|
This was failing with ODH because there is a different network policy content. I think that the content in ODH is as expected, as such, I have updated our test to match this difference and work properly on both ODH and RHOAI installations.
Tested both with ODH and RHOAI installation: