[jboss-jira] [JBoss JIRA] (WFCORE-3874) [jdk10] FileSystemDeploymentServiceUnitTestCase#testNoUndeployment failure

Petr Kremensky (JIRA) issues at jboss.org
Wed May 23 03:31:00 EDT 2018


Petr Kremensky created WFCORE-3874:
--------------------------------------

             Summary: [jdk10] FileSystemDeploymentServiceUnitTestCase#testNoUndeployment failure
                 Key: WFCORE-3874
                 URL: https://issues.jboss.org/browse/WFCORE-3874
             Project: WildFly Core
          Issue Type: Bug
          Components: Deployment Scanner, Test Suite
    Affects Versions: 5.0.0.Beta4
            Reporter: Petr Kremensky
            Assignee: ehsavoie Hugonnet


FileSystemDeploymentServiceUnitTestCase#testNoUndeployment from deployment-scanner module of wildfly-core fails with JDK10, works fine with JDK9.

*reproduce*
{noformat}
wildfly-core]$ mvn  test -Dtest=FileSystemDeploymentServiceUnitTestCase#testNoUndeployment -pl deployment-scanner
...
[INFO] Running org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.121 s <<< FAILURE! - in org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase
[ERROR] testNoUndeployment(org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase)  Time elapsed: 0.115 s  <<< FAILURE!
java.lang.AssertionError: RuntimeException expected
	at org.junit.Assert.fail(Assert.java:88)
	at org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase.testNoUndeployment(FileSystemDeploymentServiceUnitTestCase.java:1798)
...
{noformat}

Environment:
{noformat}
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: /usr/lib/maven
Java version: 10.0.1, vendor: Oracle Corporation
{noformat}

Byteman is being involved in the test.



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


More information about the jboss-jira mailing list