[jboss-jira] [JBoss JIRA] (WFLY-2260) Vault tests pollute tmp dir
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Thu Oct 10 05:11:04 EDT 2013
[ https://issues.jboss.org/browse/WFLY-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar updated WFLY-2260:
------------------------------
Priority: Blocker (was: Major)
> Vault tests pollute tmp dir
> ---------------------------
>
> Key: WFLY-2260
> URL: https://issues.jboss.org/browse/WFLY-2260
> Project: WildFly
> Issue Type: Bug
> Components: Security, Test Suite
> Affects Versions: 8.0.0.Beta1
> Reporter: Kabir Khan
> Assignee: Peter Skopek
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
>
> SlaveHostControllerAuthenticationTestCase often fails. On inspection this seems to be that the wrong version of the vault file is being used from the tmp directory.
> One way to see this is to clear out the tmp directory, and to run
> $mvn clean install -pl testsuite/domain/ -DallTests -Dtest=org.jboss.as.test.integration.domain.SlaveHostControllerAuthenticationTestCase
> a few times, most likely from the second time it will fail. This happens during setup of the test, so you can reproduce more easily by adding a simple class
> {code}
> public class __Throwaway {
> public static void main(String[] args) throws Exception{
> SlaveHostControllerAuthenticationTestCase test = new SlaveHostControllerAuthenticationTestCase();
> test.setupVault();
> test.slaveWithVaultPasswordTest();
> }
> }
> {code}
> and adjusting the visiblity of the SlaveHostControllerAuthenticationTestCase
> methods. There are also other tests using the vault which also seem to pollute the tmp dir.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list