[Intel-xe] [PATCH igt] tests/xe_create: Bump max time

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Mon Jul 24 16:25:15 UTC 2023


On Mon, Jul 24, 2023 at 08:57:05AM -0700, Lucas De Marchi wrote:
>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
>

LGTM.
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>

> /**
>  * SUBTEST: create-engines-%s
>-- 
>2.40.1
>


More information about the Intel-xe mailing list