summaryrefslogtreecommitdiff
path: root/tests/i915/gem_ctx_create.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-27 09:01:12 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-27 10:10:01 +0000
commit29d77cd8b8b86b73430dc65f5c248db53d00df71 (patch)
treed1421b4abe2487d41ac07ba35603f2092f60f6d7 /tests/i915/gem_ctx_create.c
parent8cf743614308df60fba49672b2abfda992092643 (diff)
i915/gem_ctx_create: Reduce runtime
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> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_ctx_create.c')
-rw-r--r--tests/i915/gem_ctx_create.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c
index 83da0569..d9a820e2 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++) {