Skip to contentSkip to conversation

tests/gem_{ctx, exec}_create: Adjust timeout values for BAT

PATCH In review Marius Vlad 2 participants 3 messages May 20, 2016 – May 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/gem_{ctx, exec}_create: Adjust timeout values for BAT

Tune down from 20s to 2s. Add the old timeout values under extended tests.

---
 tests/gem_ctx_create.c  | 2 ++
 tests/gem_exec_create.c | 2 ++
 2 files changed, 4 insertions(+)
tests/gem_ctx_create.c +2 -0
index 0bdd408..ef3bdda 100644
@@ -181,6 +181,8 @@ igt_main
 	}
 
 	igt_subtest("basic-files")
+		files(fd, 2, 1);
+	igt_subtest("extended-files")
 		files(fd, 20, 1);
 	igt_subtest("forked-files")
 		files(fd, 20, ncpus);
tests/gem_exec_create.c +2 -0
index 33fc85c..f77c206 100644
@@ -154,6 +154,8 @@ igt_main
 	igt_fork_hang_detector(device);
 
 	igt_subtest("basic")
+		all(device, 0, 2, 1);
+	igt_subtest("extended")
 		all(device, 0, 20, 1);
 	igt_subtest("forked")
 		all(device, 0, 20, ncpus);
Signature · 6 lines
2.5.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 1 line · Marius Vlad

Tune down from 20s to 2s. Add the old timeout values under extended tests.

Does it fail with the new timeout? If not, increase it.

This test should be a fail on current kernels.
-Chris

Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 6 lines · Chris Wilson
Quoted 1 line · Marius Vlad

Tune down from 20s to 2s. Add the old timeout values under extended tests.

Does it fail with the new timeout? If not, increase it.

This test should be a fail on current kernels.

Ran it on two different platforms for 2 minutes and no fails.

Quoted 4 lines

-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx