Skip to content

Commit 1b9ae7d

Browse files
Merge pull request #6043 from kasturinarra/ushift-6433
USHIFT-6433: Move cleanup before RF cases
2 parents 0082c26 + ce29c5a commit 1b9ae7d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

test/scenarios-bootc/releases/el96-y1@el96-lrel@lvms.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ scenario_run_tests() {
5555
echo "INFO: Checking LVMS resources after upgrade..."
5656
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/checkLvmsResources.sh"
5757

58+
# Cleanup LVMS workloads
59+
echo "INFO: Cleaning up LVMS workloads..."
60+
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/cleanupWorkload.sh"
61+
5862
# Run standard1 suite for basic validation after upgrade
5963
run_tests host1 \
6064
--variable "EXPECTED_OS_VERSION:9.6" \
6165
suites/standard1/
62-
63-
# Cleanup LVMS workloads
64-
echo "INFO: Cleaning up LVMS workloads..."
65-
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/cleanupWorkload.sh"
6666
}

test/scenarios/releases/el96-yminus1@el96-lrel@lvms.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ scenario_run_tests() {
5454
echo "INFO: Checking LVMS resources after upgrade..."
5555
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/checkLvmsResources.sh"
5656

57+
# Cleanup LVMS workloads
58+
echo "INFO: Cleaning up LVMS workloads..."
59+
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/cleanupWorkload.sh"
60+
5761
# Run standard1 suite for basic validation after upgrade
5862
run_tests host1 \
5963
--variable "EXPECTED_OS_VERSION:9.6" \
6064
suites/standard1/
61-
62-
# Cleanup LVMS workloads
63-
echo "INFO: Cleaning up LVMS workloads..."
64-
run_command_on_vm host1 'bash -s' < "${TESTDIR}/../scripts/lvms-helpers/cleanupWorkload.sh"
6565
}

0 commit comments

Comments
 (0)