-
-
Notifications
You must be signed in to change notification settings - Fork 3
Fix Inter Suite Cross Contamination #673
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
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
The change in APU suite teardown we did a while ago was a good addition and served its purpose well. However, it seems like it is causing a new problem to tests following. After trying a few fixes i've finally found the culprit. The Skip not only skips the obsolete reflash it also gets rid of The experiment was a success. The only problem now is how do we handle this issue @macpijan ? As far as I know, we can't put condition in teardown directly, that's why these commits: 8474e5d dcb979c created a kwd just for this occasion (the name is wip) Here are the logs: |
There is the keyword "Run Keyword If" which allows to run another keyword if a condition is true. It should be possible to run it from "Run Keyword" in Suite Setup / Suite Teardown |
I think that creating local keywords for setup and teardown won't allow to achieve more than using I am not sure about enforcing defining those procedures as keywords.
|
related: #930 |
Some tests behave differently when launching them inside whole suite vs individually. This fact suggest that after one suite is complete (by returning either Pass Fail or Skip) the environment doesn't return to it's original state. The most common (but not the only one) manifestation of this issue is telnet related error: "EOFError: telnet connection closed"
This MR aims to find these problematic spots and in effect, bring the regression and individually run tests as close in result as possible.