Skip to content

Commit

Permalink
Modify check test conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich committed Jan 18, 2024
1 parent 3dd7ab7 commit 174b050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/test/e2e/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 174b050

Please sign in to comment.