diff mbox series

[ndctl] build: Fix test timeouts

Message ID 164696971934.3344888.14976446737826853353.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit 900cfd8e062975215fb522ca47cc6239a5269628
Headers show
Series [ndctl] build: Fix test timeouts | expand

Commit Message

Dan Williams March 11, 2022, 3:35 a.m. UTC
Older versions of meson, like the version that ships in CentOS Stream
interpret a timeout of 0 as immediately fail, rather than infinite test
run. Specify a 10 minute timeout by default instead.

Fixes: 4e5faa1726d2 ("build: Add meson build infrastructure")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 test/meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/meson.build b/test/meson.build
index 07a5bb6e7f62..7ccd45195236 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -227,7 +227,7 @@  foreach t : tests
       mmap,
     ],
     suite: t[2],
-    timeout : 0,
+    timeout : 600,
     env : [
       'NDCTL=@0@'.format(ndctl_tool.full_path()),
       'DAXCTL=@0@'.format(daxctl_tool.full_path()),