Commit 1f453870 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Increased timeout for c-api tests as they may take long time on slow systems

parent f99fa3fc
......@@ -14,6 +14,7 @@ all:
tar xf libguestfs-1.42.0.tar.gz
patch -Np1 -d libguestfs-1.42.0 < libguestfs-1.42.0-certo.patch
patch -Np1 -d libguestfs-1.42.0 < libguestfs-1.42.0-mlv2v.patch
patch -Np1 -d libguestfs-1.42.0 < libguestfs-1.42.0-fix_test_timeout.patch
cd libguestfs-1.42.0 && ./configure --prefix=/usr --with-extra-packages="glibc readline ncurses util-linux xz pcre zlib systemd iproute2 libcap jansson augeas hivex libtirpc parted mdadm libaio cryptsetup popt openssl json-c cdrkit gptfdisk gcc"
$(MAKE) -C libguestfs-1.42.0
chown -Rv nobody libguestfs-1.42.0
......
diff -uNr libguestfs-1.42.0/run.in libguestfs-1.42.0-fix_test_timeout/run.in
--- libguestfs-1.42.0/run.in 2020-03-06 19:31:08.573072155 +0000
+++ libguestfs-1.42.0-fix_test_timeout/run.in 2020-07-14 17:18:34.725605797 +0000
@@ -243,7 +243,7 @@
# Originally 1h, but that is not long enough to run the C API
# tests on Koji.
-timeout_period=4h
+timeout_period=16h
timeout_kill=30s
# Must use the --foreground option (RHBZ#1025269).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment