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

XmlCompletionScannerTest fails with IBM JDK 8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Alpha13
    • 2.0.0.Alpha11
    • Test Suite
    • None

    Description

      Description of problem:
      org.jboss.as.server.deployment.scanner.XmlCompletionScannerTest#testIncompleteDocument fails on IBM JDK 8

      How reproducible:
      100% on RHEL7 && IBM JDK 8
      60% on RHEL6 && 64-bit && IBM JDK 8

      Steps to Reproduce:

      1. get fresh wildfly-core
      2. cd deployment-scanner
      3. mvn test -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -DfailIfNoTests=false -Dtest=XmlCompletionScannerTest

      Actual results:

      Running org.jboss.as.server.deployment.scanner.XmlCompletionScannerTest
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.254 sec <<< FAILURE! - in org.jboss.as.server.deployment.scanner.XmlCompletionScannerTest
      testIncompleteDocument(org.jboss.as.server.deployment.scanner.XmlCompletionScannerTest)  Time elapsed: 0.214 sec  <<< FAILURE!
      java.lang.AssertionError: 
      Expected: is <1>
           but: was <0>
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.junit.Assert.assertThat(Assert.java:865)
      	at org.junit.Assert.assertThat(Assert.java:832)
      	at org.jboss.as.server.deployment.scanner.XmlCompletionScannerTest.testIncompleteDocument(XmlCompletionScannerTest.java:65)
      

      Expected results:
      No errors in output

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: