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

Bug in the code #14

Open
Arunachalam-J opened this issue Apr 14, 2023 · 1 comment
Open

Bug in the code #14

Arunachalam-J opened this issue Apr 14, 2023 · 1 comment

Comments

@Arunachalam-J
Copy link

The http probes function always throws true even when the target machine is down..

Popen().returncode will always give None inside context manager. Instead we can go with Popen().wait() - this will return actual return code.

I think the same issue is there in actions.py file also.. the issue is more prominent in probes.py file since we use this in steady state hypothesis.

Kindly let me know if you need more clarification.. thanks

@Arunachalam-J
Copy link
Author

IMG_2704
Attached a code snippet for reference

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

1 participant