Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove timeout for wait-for command #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

veleek
Copy link

@veleek veleek commented Oct 28, 2022

The default timeout for wait-for is 15 seconds. If service startup happens to take a long time then the subscription setup portion fails but it doesn't shutdown the container or anything.

I think just setting the timeout to infinite is probably a good enough solution since it's likely that the emulator will startup eventually. A better solution could be to kill the emulator if it doesn't startup in time, but in that case I think you'd want the timeout to be configurable just in case someone has a REALLY slow startup.

The default timeout for `wait-for` is 15 seconds.  If service startup happens to take a long time then the subscription setup portion fails but it doesn't shutdown the container or anything.  

I think just setting the timeout to infinite is probably a good enough solution since it's likely that the emulator will startup eventually.  A better solution could be to kill the emulator if it doesn't startup in time, but in that case I think you'd want the timeout to be configurable just in case someone has a REALLY slow startup.
@rachid-o
Copy link

rachid-o commented Nov 30, 2022

In my docker compose it always failed the first time with: Operation timed out.
And after I stop/start the container it works fine.

For me it would be really help if either the container stops, or that the timeout is longer/configurable.

@veleek
Copy link
Author

veleek commented Mar 6, 2023

Ping on this again!

@chandler-barlow
Copy link

Pinging this again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants