[jboss-jira] [JBoss JIRA] (WFLY-9967) LayeredDistributionTestCase fails without clean install

Jan Kalina (JIRA) issues at jboss.org
Tue Mar 6 18:10:00 EST 2018


Jan Kalina created WFLY-9967:
--------------------------------

             Summary: LayeredDistributionTestCase fails without clean install
                 Key: WFLY-9967
                 URL: https://issues.jboss.org/browse/WFLY-9967
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 12.0.0.Final
            Reporter: Jan Kalina


LayeredDistributionTestCase fails when started twice without {{mvn clean}} - removing old working directory is done using operation supporting only blank directories:

{code}
Running org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase
Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.1 sec <<< FAILURE! - in org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase
before(org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase)  Time elapsed: 0.058 sec  <<< ERROR!
java.nio.file.DirectoryNotEmptyException: target/jbossas-layered/modules/system/layers/test
	at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
	at java.nio.file.Files.deleteIfExists(Files.java:1165)
	at org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.buildLayer(LayeredDistributionTestCase.java:162)
	at org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.before(LayeredDistributionTestCase.java:99)
{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list