diff mbox series

[i-g-t,3/4] i915/gem_ctx_create: Reduce runtime

Message ID 20200127090712.2324227-3-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t,1/4] i915/gem_sync: Reduce runtime | expand

Commit Message

Chris Wilson Jan. 27, 2020, 9:07 a.m. UTC
Reduce the upper timeout for stress tests from 150s to a mere 20s, and
quick tests to 2s.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_ctx_create.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c
index 83da05690..d9a820e21 100644
--- a/tests/i915/gem_ctx_create.c
+++ b/tests/i915/gem_ctx_create.c
@@ -566,16 +566,16 @@  igt_main
 		maximum(fd, ncpus, CHECK_RAM | CHECK_SWAP);
 
 	igt_subtest("basic-files")
-		files(fd, 5, 1);
+		files(fd, 2, 1);
 	igt_subtest("files")
-		files(fd, 150, 1);
+		files(fd, 20, 1);
 	igt_subtest("forked-files")
-		files(fd, 150, ncpus);
+		files(fd, 20, ncpus);
 
 	igt_subtest("active-all")
-		active(fd, ALL_ENGINES, 120, 1);
+		active(fd, ALL_ENGINES, 20, 1);
 	igt_subtest("forked-active-all")
-		active(fd, ALL_ENGINES, 120, ncpus);
+		active(fd, ALL_ENGINES, 20, ncpus);
 
 	for (const struct intel_execution_engine *e = intel_execution_engines;
 	     e->name; e++) {