Skip to content

Commit 66b9676

Browse files
committed
Torture tests for opal elog.
Now we can genrate and transfer 100000 error logs from fsp to stress the mailbox(mbox). And also it has the fix for setting the unique prompt for ipmi console. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
1 parent d045559 commit 66b9676

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

testcases/IpmiTorture.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ def setup_test(self):
232232
self.test = "skiroot_runtime"
233233
self.cv_SYSTEM.goto_state(OpSystemState.PETITBOOT_SHELL)
234234
self.c = self.cv_SYSTEM.sys_get_ipmi_console()
235+
self.cv_SYSTEM.host_console_unique_prompt()
236+
235237

236238
class SkirootIpmiTorture(IpmiInterfaceTorture):
237239
def setup_test(self):

testcases/OpalErrorLog.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def runTest(self):
9898
self.cv_FSP.generate_error_log_from_fsp()
9999
self.cv_HOST.host_list_all_errorlogs()
100100
self.cv_HOST.host_list_all_service_action_logs()
101-
101+
self.cv_FSP.list_all_errorlogs_in_fsp()
102102
res = self.cv_HOST.host_get_number_of_errorlogs()
103103
transfer_complete = False
104104
tries = 60
@@ -120,3 +120,9 @@ class FullTest(BasicTest):
120120
def count(self):
121121
self.count = 255
122122
return self.count
123+
124+
class TortureTest(BasicTest):
125+
126+
def count(self):
127+
self.count = 100000
128+
return self.count

0 commit comments

Comments
 (0)