Skip to content

Commit

Permalink
increase allowed delay for parallel task start time in test_execute_t…
Browse files Browse the repository at this point in the history
…ask_graph
  • Loading branch information
recursix committed Dec 18, 2024
1 parent fcefed7 commit ff2a3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/experiments/test_ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_execute_task_graph():
# Verify that parallel tasks (task2 and task3) started within a short time of each other
parallel_start_diff = abs(exp_args_list[1].start_time - exp_args_list[2].start_time)
print(f"parallel_start_diff: {parallel_start_diff}")
assert parallel_start_diff < 1.5 # Allow for a small delay
assert parallel_start_diff < 2 # Allow for a small delay

# Ensure that the entire task graph took the expected amount of time
total_time = exp_args_list[-1].end_time - exp_args_list[0].start_time
Expand Down

0 comments on commit ff2a3c3

Please sign in to comment.