[jboss-jira] [JBoss JIRA] (WFLY-2260) Vault tests pollute tmp dir

Kabir Khan (JIRA) jira-events at lists.jboss.org
Tue Oct 8 12:03:03 EDT 2013


Kabir Khan created WFLY-2260:
--------------------------------

             Summary: Vault tests pollute tmp dir
                 Key: WFLY-2260
                 URL: https://issues.jboss.org/browse/WFLY-2260
             Project: WildFly
          Issue Type: Feature Request
          Components: Security
            Reporter: Kabir Khan
            Assignee: Darran Lofthouse
             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