Skip to content

Commit

Permalink
add delay in test_service for register env ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv Garg committed Nov 22, 2024
1 parent b6fbab2 commit 977f36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def test_service():
)
and response.num_executors == 10
)

# Introduce a 2s delay in getting the env ready
time.sleep(2)

# Mark the environment as ready
request = erdos_scheduler_pb2.RegisterEnvironmentReadyRequest(
Expand Down

0 comments on commit 977f36a

Please sign in to comment.