From 174b050cce88342b29bf3e098a67e5afa9d3fb9a Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Thu, 18 Jan 2024 14:54:14 +0000 Subject: [PATCH] Modify check test conditions --- sdk/python/test/e2e/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/test/e2e/utils.py b/sdk/python/test/e2e/utils.py index b527ab8fec..7a6f81f922 100644 --- a/sdk/python/test/e2e/utils.py +++ b/sdk/python/test/e2e/utils.py @@ -48,7 +48,7 @@ def verify_job_e2e( # Job should have Created, Running, and Succeeded conditions. conditions = client.get_job_conditions(job=job) # If Job is complete fast, it has 2 conditions: Created and Succeeded. - if len(conditions) != 3 and len(conditions) != 2: + if len(conditions) < 2: raise Exception(f"{client.job_kind} conditions are invalid: {conditions}") # Job should have correct conditions.