Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3874

[jdk10] FileSystemDeploymentServiceUnitTestCase#testNoUndeployment failure

XMLWordPrintable

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

      reproduce

      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)
      ...
      

      Environment:

      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
      

      Byteman is being involved in the test.

              ropalka Richard Opalka
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: