Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Right now if you have:
@UITest(properties = { "xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:XWiki\\." + "(ResetPassword|ResetPasswordComplete)" }) @UITest(properties = { "xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:ConfigurableClassIT\\." + "(testCodeToExecutionAndAutoSandboxing.WebHome" + "|testLockingAndUnlocking.TestConfigurable1" + "|testLockingAndUnlocking.TestConfigurable2)" })
You get:
xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:XWiki\\.(ResetPassword|ResetPasswordComplete),test.prchecker.excludePattern=.*:ConfigurableClassIT\\.(testCodeToExecutionAndAutoSandboxing.WebHome|testLockingAndUnlocking.TestConfigurable1|testLockingAndUnlocking.TestConfigurable2)
which leads to a xwiki.properties with a bad config:
test.prchecker.excludePattern=.*:XWiki\\.(ResetPassword|ResetPasswordComplete),test.prchecker.excludePattern=.*:ConfigurableClassIT\\.(testCodeToExecutionAndAutoSandboxing.WebHome|testLockingAndUnlocking.TestConfigurable1|testLockingAndUnlocking.TestConfigurable2)
And config.getProperty("xwikiPropertiesAdditionalProperties") will return an array with values:
- .*:XWiki
.(ResetPassword|ResetPasswordComplete) - test.prchecker.excludePattern=.*:ConfigurableClassIT
.(testCodeToExecutionAndAutoSandboxing.WebHome|testLockingAndUnlocking.TestConfigurable1|testLockingAndUnlocking.TestConfigurable2)
Instead we should have:
xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:XWiki\\.(ResetPassword|ResetPasswordComplete)\ntest.prchecker.excludePattern=.*:ConfigurableClassIT\\.(testCodeToExecutionAndAutoSandboxing.WebHome|testLockingAndUnlocking.TestConfigurable1|testLockingAndUnlocking.TestConfigurable2)
Attachments
Issue Links
- blocks
-
XWIKI-20497 The PR checker is not executed for docker-based tests
- Closed