[igt-dev] [PATCH igt] tests/xe_create: Bump max time
Lucas De Marchi
lucas.demarchi at intel.com
Mon Jul 24 15:57:05 UTC 2023
For our kernel with debug and kasan enabled, 2 seconds is not enough to
create 2048 engines. In CI we are seeing it failing sometimes for ADL-P:
CRITICAL: Creating 2048 engines tooks too long: 2 [limit: 2]
And for ATS-M:
CRITICAL: Creating 2048 engines tooks too long: 3 [limit: 2]
Let's bump it to 5 to cover all cases and give it some room for
early-enabling platforms.
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
tests/xe/xe_create.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/xe/xe_create.c b/tests/xe/xe_create.c
index 2e29efc90..e39e89f7a 100644
--- a/tests/xe/xe_create.c
+++ b/tests/xe/xe_create.c
@@ -120,7 +120,7 @@ static uint32_t __xe_engine_create(int fd, uint32_t vm,
}
#define MAXENGINES 2048
-#define MAXTIME 2
+#define MAXTIME 5
/**
* SUBTEST: create-engines-%s
--
2.40.1
More information about the igt-dev
mailing list