Blame SOURCES/0151-build-Fix-test-timeouts.patch

2eb93d
From 900cfd8e062975215fb522ca47cc6239a5269628 Mon Sep 17 00:00:00 2001
2eb93d
From: Dan Williams <dan.j.williams@intel.com>
2eb93d
Date: Thu, 10 Mar 2022 19:35:19 -0800
2eb93d
Subject: [PATCH 151/217] build: Fix test timeouts
2eb93d
2eb93d
Older versions of meson, like the version that ships in CentOS Stream
2eb93d
interpret a timeout of 0 as immediately fail, rather than infinite test
2eb93d
run. Specify a 10 minute timeout by default instead.
2eb93d
2eb93d
Link: https://lore.kernel.org/r/164696971934.3344888.14976446737826853353.stgit@dwillia2-desk3.amr.corp.intel.com
2eb93d
Fixes: 4e5faa1726d2 ("build: Add meson build infrastructure")
2eb93d
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2eb93d
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
2eb93d
---
2eb93d
 test/meson.build | 2 +-
2eb93d
 1 file changed, 1 insertion(+), 1 deletion(-)
2eb93d
2eb93d
diff --git a/test/meson.build b/test/meson.build
2eb93d
index 07a5bb6..7ccd451 100644
2eb93d
--- a/test/meson.build
2eb93d
+++ b/test/meson.build
2eb93d
@@ -227,7 +227,7 @@ foreach t : tests
2eb93d
       mmap,
2eb93d
     ],
2eb93d
     suite: t[2],
2eb93d
-    timeout : 0,
2eb93d
+    timeout : 600,
2eb93d
     env : [
2eb93d
       'NDCTL=@0@'.format(ndctl_tool.full_path()),
2eb93d
       'DAXCTL=@0@'.format(daxctl_tool.full_path()),
2eb93d
-- 
2eb93d
2.27.0
2eb93d