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
Bugfix: User Defined Variables are not evaluated on client (master) i… #5900
Bugfix: User Defined Variables are not evaluated on client (master) i… #5900
Conversation
Please keep |
Do you think you could add a test case for the change? |
…n distributed setups. This has beed fixed by a second pass through the test tree after it is sent to the servers. #5896
6f5df2f
to
80f404d
Compare
Testfile attached. To be run in distributed mode with
|
After some checking i don't think placing this in the batch tests makes sense, since we would need an assertion inside of the backend listener- The attached file was used for our manual tests to check for the correct behavior. |
Please include the tests in the PR. For now, I see only The PRs that alter core behaviours must be accompanied by tests. |
Undestandable. |
I have no idea.
I understand what you say. Imagine some time later I would start working on #5877 The bug #5896 does not affect me directly, and I have no time for looking into it either. |
Try adding |
After i while i refuse to write a test for this. Nevertheless, as you say: Hard to maintain, also hard to write tests for a pretty simple fix without any other tests doing some basic stuff like creating the TestTree from scratch. Please either check manually or trust in our team programming efforts to fix this. |
Please check Lines 39 to 85 in 5bb5669
It creates the test tree from scratch. |
Note: We found a Workaround which was easier to implement as the tests for this fix ;) |
Description
Bugfix: #5896
User Defined Variables are not evaluated on client (master) in distributed setups. This has beed fixed by a second pass through the test tree after it is sent to the servers.
Motivation and Context
We are using a distributed setup for our tests. Credentials and some configurations are passed via properties into the client (master). It occurred that the BackendListener, using User Defined Variables, received unevaluated strings as credentials (see bugticket linked for details).
In order to prevent side effects for test party running on the servers, we decided a second pass over the needed testelements after sending the unmodified test to the servers would be best.
How Has This Been Tested?
Manual testing using debug logging.
Types of changes
Checklist: