-
Notifications
You must be signed in to change notification settings - Fork 81
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] cleanup for the dashboard api tests #1317
[Fix] cleanup for the dashboard api tests #1317
Conversation
The cleanup only checked for resources of two users but in the tests there are used three different users, so let's clean after all three.
Quality Gate passedIssues Measures |
${test_crs}= Create List ${CR_1} ${CR_2} | ||
FOR ${nb_cr} IN @{test_crs} | ||
${present}= Run Keyword And Return Status OpenshiftLibrary.Oc Get kind=Notebook namespace=${NOTEBOOK_NS} name=${nb_cr} | ||
${test_usernames}= Create List ${TEST_USER.USERNAME} ${TEST_USER_3.USERNAME} ${TEST_USER_4.USERNAME} |
Check notice
Code scanning / Robocop
{{ create_keyword }} can be replaced with VAR Note test
${PVC_BASIC_USER}= Get User Notebook PVC Name ${TEST_USER_3.USERNAME} | ||
${PVC_BASIC_USER_2}= Get User Notebook PVC Name ${TEST_USER_4.USERNAME} | ||
${test_pvcs}= Create List ${PVC_BASIC_USER} ${PVC_BASIC_USER_2} | ||
${test_pvcs}= Create List ${PVC_ADMIN_USER} ${PVC_BASIC_USER} ${PVC_BASIC_USER_2} |
Check notice
Code scanning / Robocop
{{ create_keyword }} can be replaced with VAR Note test
Robot Results
|
This PR contains following fixes from the `master` branch: * edafbcc (#1296) * 5e7f4b1 (#1302) * b6fb7f7 (#1307) * 9485246 (#1314) * abfb8a5 (#1316) * fc76761 (#1317) * 439e2b3 (#1306) * 5db9e26 (#1324) --- I kept the order in which these commits were merged in the `master` branch and provided both link to the particular commit and also link to the particular PR so it's clearer to understand later on.
The cleanup only checked for resources of two users but in the tests there are used three different users, so let's clean after all three.
Note: I'm not aware that this broke any test, but I think we should clean all relevant Notebooks and PVCs after these tests are executed.
After merge, I shall backport to
releases/2.8.0
branch too.(results once #1306 is merged also)