Skip to content
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

Skip FMS Training operator tests for version less than 2.12.0 #2158

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ Clone Git Repository
Get Operator Starting Version
[Documentation] Returns the starting version of the operator in the upgrade chain
${rc} ${out}= Run And Return RC And Output
... oc get subscription rhods-operator -n ${OPERATOR_NAMESPACE} -o yaml | yq '.spec.startingCSV' | awk -F. '{print $2"."$3"."$4}' # robocop: disable
... oc get subscription rhods-operator -n ${OPERATOR_NAMESPACE} -o yaml | yq -r '.spec.startingCSV' | awk -F. '{print $2"."$3"."$4}' # robocop: disable
Should Be Equal As Integers ${rc} 0
RETURN ${out}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,15 @@ Run Training Operator FMS Setup PyTorchJob Test Use Case
[Documentation] Run Training Operator FMS Setup PyTorchJob Test Use Case
[Tags] Upgrade
[Setup] Prepare Training Operator FMS E2E Test Suite
Skip If Operator Starting Version Is Not Supported minimum_version=2.12.0
Run Training Operator FMS Test TestSetupPytorchjob
[Teardown] Teardown Training Operator FMS E2E Test Suite

Run Training Operator FMS Setup Sleep PyTorchJob Test Use Case
[Documentation] Setup PyTorchJob which is kept running for 24 hours
[Tags] Upgrade
[Setup] Prepare Training Operator FMS E2E Test Suite
Skip If Operator Starting Version Is Not Supported minimum_version=2.12.0
Run Training Operator FMS Test TestSetupSleepPytorchjob
[Teardown] Teardown Training Operator FMS E2E Test Suite

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,15 @@ Run Training Operator FMS Run PyTorchJob Test Use Case
[Documentation] Run Training Operator FMS Run PyTorchJob Test Use Case
[Tags] Upgrade
[Setup] Prepare Training Operator FMS E2E Test Suite
Skip If Operator Starting Version Is Not Supported minimum_version=2.12.0
Run Training Operator FMS Test TestRunPytorchjob
[Teardown] Teardown Training Operator FMS E2E Test Suite

Run Training Operator FMS Run Sleep PyTorchJob Test Use Case
[Documentation] Verify that running PyTorchJob Pod wasn't restarted
[Tags] Upgrade
[Setup] Prepare Training Operator FMS E2E Test Suite
Skip If Operator Starting Version Is Not Supported minimum_version=2.12.0
Run Training Operator FMS Test TestVerifySleepPytorchjob
[Teardown] Teardown Training Operator FMS E2E Test Suite

Expand Down
Loading