-
-
Notifications
You must be signed in to change notification settings - Fork 782
st2-self-check should ignore any pack actions which name doesn't start with "test_" #4622
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
Conversation
|
With StackStorm/st2tests#153 which fixes the root cause, this change is not technically needed anymore, but I don't think it hurts either and it's an additional safe guard. |
|
I noticed yet another "unrelated" self check issue which I fixed in bb8be32. We didn't skip winrm runner tests by default so self check would fail (same as other Windows runners, those tests don't work out of the box and shouldn't run by default). |
stdout and stderr data with \n when pty is used. When pty is used, default behavior is to replace all new line characters \n with \r\n which is almost never desired.
…o update_st2_self_check
…\r\n in the" This reverts commit 21fac2c.
| continue | ||
| fi | ||
|
|
||
| if [ ${RUN_WINDOWS_TESTS} = "false" ] && [ ${TEST} = "tests.test_winrm_runners" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a heads up - that's something we missed while working on original WinRM runner PRs.
Those tests only works on servers which have access to a configured Windows host which is not the case for default StackStorm installation and st2-self-check script.
This pull request fixes bug in
st2-self-checkinadvertently introduced in this PR - StackStorm/st2tests#150.It updates
st2-self-checkcode so it only tries to run actions which name starts withtest_.(Per my comment in the other PR, I assume we ended up with this bug / regression due to lack of understanding of the difference between various test repos and packs we have - we need better developer documentation on that).