You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume that the following IP address is unreachable: 1.2.3.4. When you execute wait-on tcp:1.2.3.4:554 -r, the command should exit after a short time with code 0 because the service is not available. Unfortunately, it doesn't exit at all. I think it's because you don't have a timeout event handler in the createTcp$ function. I propose to add an additional option called "tcpTimeout" and the timeout event handler which would mirror the behaviour of the error handler.
The text was updated successfully, but these errors were encountered:
TKasperczyk
changed the title
When tcp service's host is unreachable, wait-on should exit with status code 0
When tcp service's host is unreachable, wait-on should exit with status code 0 in reverse mode
Oct 30, 2018
Let's assume that the following IP address is unreachable: 1.2.3.4. When you execute
wait-on tcp:1.2.3.4:554 -r
, the command should exit after a short time with code 0 because the service is not available. Unfortunately, it doesn't exit at all. I think it's because you don't have a timeout event handler in thecreateTcp$
function. I propose to add an additional option called "tcpTimeout" and the timeout event handler which would mirror the behaviour of the error handler.The text was updated successfully, but these errors were encountered: