Skip to content

Commit

Permalink
Increase sleep for Docker startup to 5s
Browse files Browse the repository at this point in the history
Less likely to become stuck

Refs #16
  • Loading branch information
sverhoeven committed Mar 29, 2019
1 parent 9fd60b4 commit 43f4c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc4bmi/bmi_client_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, image, image_port=50051, host=None,
user=user,
remove=remove,
detach=True)
time.sleep(1)
time.sleep(5)
super(BmiClientDocker, self).__init__(BmiClient.create_grpc_channel(port=port, host=host))

def __del__(self):
Expand Down

0 comments on commit 43f4c31

Please sign in to comment.