From 1b0cda6b442dd79324eaeb5b552cbc32faca3726 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 14 Nov 2020 18:34:56 +0100 Subject: gnu: qemu: Extend I/O test time-outs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/virtualization.scm (qemu)[arguments]: Add an ‘extend-test-time-outs’ phase. --- gnu/packages/virtualization.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index deacb60ad0..176201bd33 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -177,6 +177,14 @@ (define-public qemu '("include") input-directories) #t))) + (add-after 'unpack 'extend-test-time-outs + (lambda _ + ;; These tests can time out on heavily-loaded and/or slow storage. + (substitute* (cons* "tests/qemu-iotests/common.qemu" + (find-files "tests/qemu-iotests" "^[0-9]+$")) + (("QEMU_COMM_TIMEOUT=[0-9]+" match) + (string-append match "9"))) + (fail))) (add-after 'unpack 'disable-unusable-tests (lambda _ (substitute* "tests/Makefile.include" -- cgit v1.2.3