-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
http.wait_for_successful_query state with wait_for and test=true blocks and waits #51045
Comments
@rossengeorgiev Thanks for reporting this. It looks like this behavior was by design. The state will make the web request when @techhat can you confirm this behavior is intended? |
I don't think it makes the request, hence why its waiting the full |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Waiting for @techhat to comment |
Thank you for updating this issue. It is no longer marked as stale. |
I cannot confirm whether this behavior was intended; I didn't write it. |
closing as expected behavior since this ticket is over a year old @rossengeorgiev please let us know if you still have questions. |
@sagetherage I don't mean to be rude, but no one so far appears to have gone and read the code. I have not at any point mentioned requests, its all about waiting. When this state is ran with Lines 285 to 287 in 0b46284
That empty result Lines 153 to 158 in 0b46284
Since there is no Lines 160 to 169 in 0b46284
That code doesn't test for This is clearly a bug, and not expected behavior. Does this affects |
Don't worry about being rude, I certainly didn't take rudely! And thank you for the extra details. I will get this ticket into a planning session (coming up soon) and get it discussed. |
The |
I would like to update this thread (since the latest movement was in 2020) to mention it is still happening in Salt 3005. |
Description of Issue/Question
The state waits for the
wait_for
amount of time even whentest=True
Setup
test.sls
Steps to Reproduce Issue
salt-call -l debug --local state.sls test test=true
Versions Report
The text was updated successfully, but these errors were encountered: