anitazha / rpms / ndctl

Forked from rpms/ndctl a year ago
Clone

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

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