anitazha / rpms / ndctl

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