Skip to content

Commit 7694c2d

Browse files
tarukumarlugi0
andauthored
Add test to Verify Culler Settings are not overwritten [RHODS-4336] (#451)
* rhods-4336 culluer seeting changed Signed-off-by: Tarun Kumar <[email protected]> * minor change Signed-off-by: Tarun Kumar <[email protected]> * minor change Signed-off-by: Tarun Kumar <[email protected]> * Add polarion ID Signed-off-by: Luca Giorgi <[email protected]> Co-authored-by: Luca Giorgi <[email protected]>
1 parent 8e6c429 commit 7694c2d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/Tests/800__culler/culler.robot

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,21 @@ Verify Do Not Stop Idle Notebooks
9191
${notebook_pod_name} = Get User Notebook Pod Name ${TEST_USER.USERNAME}
9292
OpenShiftLibrary.Search Pods ${notebook_pod_name} namespace=rhods-notebooks
9393

94+
Verify That "Stop Idle Notebook" Setting Is Not Overwritten After Restart Of Operator Pod
95+
[Documentation] Restart the operator pod and verify if "Stop Idle Notebook" setting
96+
... is overwritten or not.
97+
... ProductBug:RHODS-4336
98+
[Tags] Tier2
99+
... ProductBug
100+
... ODS-1607
101+
Modify Notebook Culler Timeout ${CUSTOM_CULLER_TIMEOUT}
102+
Oc Delete kind=Pod namespace=redhat-ods-operator label_selector=name=rhods-operator
103+
sleep 5 msg=waiting time for the operator pod to be replaced with new one
104+
Reload Page
105+
${status} Run Keyword And Return Status Radio Button Should Not Be Selected culler-unlimited-time
106+
IF ${status}==False
107+
Fail Restart of operator pod causing 'Stop Idle Notebook' setting to change in RHODS dashboard
108+
END
94109

95110
*** Keywords ***
96111
Spawn Minimal Image

0 commit comments

Comments
 (0)