Skip to content

Commit 95e4cf1

Browse files
committed
Small fix of Testcase as part of cleanup
Signed-off-by: yeswanth <[email protected]>
1 parent 4251053 commit 95e4cf1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dlpar/dlpar_main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,11 @@ def test_offline_cpu_persistence(self):
631631
"CPU is still offline even after"
632632
"proc operation,Test passed.")
633633

634+
# Setting cpu online back after TC complete
635+
set_cpu1_online = process.system_output(
636+
'echo 1 > /sys/devices/system/cpu/cpu1/online',
637+
shell=True, ignore_status=False)
638+
634639
def test_offline_proc_persistence(self):
635640
'''
636641
Keep SMT less than 8 and at least 1 core offline, do a dlpar proc

0 commit comments

Comments
 (0)