Skip to content
Open
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
5 changes: 5 additions & 0 deletions dlpar/dlpar_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,11 @@ def test_offline_cpu_persistence(self):
"CPU is still offline even after"
"proc operation,Test passed.")

# Setting cpu online back after TC complete
cmd = 'echo 1 > /sys/devices/system/cpu/cpu1/online'
process.system_output(
cmd, shell=True, ignore_status=False)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yeswanth6096 use process.run instead of process.system_output


def test_offline_proc_persistence(self):
'''
Keep SMT less than 8 and at least 1 core offline, do a dlpar proc
Expand Down
Loading