[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 05/16] tests/boot-sector: Increase time-out to 90 secon
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 05/16] tests/boot-sector: Increase time-out to 90 seconds |
Date: |
Mon, 17 Oct 2016 13:43:28 +1100 |
From: Thomas Huth <address@hidden>
Since the PXE tester runs rather slow on ppc64 with tcg, there
is a chance that we hit the 60 seconds timeout on machines that
have a heavy CPU load. So let's increase the timeout to ease
the situation.
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
tests/boot-sector.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/boot-sector.c b/tests/boot-sector.c
index 8399314..e3880f4 100644
--- a/tests/boot-sector.c
+++ b/tests/boot-sector.c
@@ -106,9 +106,9 @@ void boot_sector_test(void)
uint16_t signature;
int i;
- /* Wait at most 1 minute */
+ /* Wait at most 90 seconds */
#define TEST_DELAY (1 * G_USEC_PER_SEC / 10)
-#define TEST_CYCLES MAX((60 * G_USEC_PER_SEC / TEST_DELAY), 1)
+#define TEST_CYCLES MAX((90 * G_USEC_PER_SEC / TEST_DELAY), 1)
/* Poll until code has run and modified memory. Once it has we know BIOS
* initialization is done. TODO: check that IP reached the halt
--
2.7.4
- [Qemu-ppc] [PULL 00/16] ppc-for-2.8 queue 20161017, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 01/16] tests: minor cleanups in usb-hcd-uhci-test, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 05/16] tests/boot-sector: Increase time-out to 90 seconds,
David Gibson <=
- [Qemu-ppc] [PULL 03/16] tests/boot-sector: Use minimum length for the Forth boot script, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 14/16] spapr: Adjust placement of PCI host bridge to allow > 1TiB RAM, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 11/16] libqos: Correct error in PCI hole sizing for spapr, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 07/16] spapr: fix inheritance chain for default machine options, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 02/16] qtest: ask endianness of the target in qtest_init(), David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 06/16] target-ppc: implement vexts[bh]2w and vexts[bhw]2d, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 12/16] libqos: Limit spapr-pci to 32-bit MMIO for now, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 13/16] spapr_pci: Delegate placement of PCI host bridges to machine type, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 04/16] tests/boot-sector: Use mkstemp() to create a unique file name, David Gibson, 2016/10/16
- [Qemu-ppc] [PULL 10/16] libqos: Isolate knowledge of spapr memory map to qpci_init_spapr(), David Gibson, 2016/10/16