[igt-dev] [PATCH i-g-t 3/4] i915/gem_ctx_create: Reduce runtime

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 27 09:07:11 UTC 2020


Reduce the upper timeout for stress tests from 150s to a mere 20s, and
quick tests to 2s.

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

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++) {
-- 
2.25.0



More information about the igt-dev mailing list