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

Indefinite timeout not supported #11

Open
axisofentropy opened this issue Nov 30, 2018 · 3 comments
Open

Indefinite timeout not supported #11

axisofentropy opened this issue Nov 30, 2018 · 3 comments

Comments

@axisofentropy
Copy link

The README and the usage both say that a timeout of 0 will retry forever. I don't see this in the code nor in my own experience.

@domkle
Copy link

domkle commented Mar 8, 2019

I'm having the same issue, tested it with
./wait-for -t 0 localhost:80

Instrant result:
Operation timed out

@dadoonet
Copy link

Agreed.

  for i in `seq $TIMEOUT` ; do

seq 0 actually generates 1 0 which means that the loop is ran twice.

@zapotocnylubos
Copy link

any update on this?

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

No branches or pull requests

4 participants