harness: increasing test timeout
@@ -134,7 +134,7 @@ class TmpMachine(QEMUMachineBase):
# 120 seconds per core
def get_test_timeout(self):
- return self.get_ncores() * 120
+ return self.get_ncores() * 240
for n in [1, 2, 4]:
MachineFactory.addMachine('qemu_x86_64_c%d' % n, TmpMachine,
@@ -152,6 +152,14 @@ class QEMUMachineARMv7(ARMMachineBase):
super(QEMUMachineARMv7, self).__init__(options, QEMUMAchineARMv7Operations(self), **kwargs)
self._set_kernel_image()
+ # 60 seconds per core
+ def get_boot_timeout(self):
+ return self.get_ncores() * 60
+
+ # 120 seconds per core
+ def get_test_timeout(self):
+ return self.get_ncores() * 240
+
def get_buildall_target(self):
return "VExpressEMM-A15"
@@ -251,6 +259,14 @@ class QEMUMachineARMv8(ARMMachineBase):
self._set_kernel_image()
self.menulst_template = "menu.lst.armv8_a57_qemu"
+ # 60 seconds per core
+ def get_boot_timeout(self):
+ return self.get_ncores() * 60
+
+ # 120 seconds per core
+ def get_test_timeout(self):
+ return self.get_ncores() * 240
+
def get_buildall_target(self):
return "QEMU"
