Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
properties in arquillian.xml take precedence over system properties #816
<arquillian> <extension qualifier="openshift"> <property name="namespace.use.current">true</property> <property name="env.init.enabled">true</property> </extension> </arquillian>
I intentionally set
A temporary namespace is created and used.
Current namespace is used even though I specify
Steps To Reproduce
This is caused by the
but the implementation doesn't conform to that javadoc.
I can send a PR, it's a pretty simple change, but I want to confirm first that it's really a bug. (I think it is.)
referenced this issue
Oct 5, 2017
Humm I am not sure since surefire also does some strange things when propagating system properties and this features comes from arquillian core, and I am sure it has been widely tested and used, but for just in case try this:
First of all and IIRC maybe @MatousJobanek can help on this the -D property should
If does not work it is better to try this:
If still does not work then in your test try to do a sysout of the system property, to check if System Property is correctly bypassed by surefire.
Your suggestion to add indirection through another system property obviously works perfectly.