Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-474

org.drools.simulation.impl.BatchFluentTest.testBatchSimple fails on JDK8 due to: expected:<[y]> but was:<[x]>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 6.1.0
    • 6.1.0
    • jBPM Core
    • None

    Description

      Description of problem:
      org.drools.simulation.impl.BatchFluentTest.testBatchSimple fails on JDK8 (both Oracle and Openjdk) due to: expected:<[y]> but was:<[x]>

      Error Message
      expected:<[y]> but was:<[x]>
      Stacktrace
      org.junit.ComparisonFailure: expected:<[y]> but was:<[x]>
      at org.junit.Assert.assertEquals(Assert.java:115)
      at org.junit.Assert.assertEquals(Assert.java:144)
      at org.drools.simulation.impl.BatchFluentTest.testBatchSimple(BatchFluentTest.java:59)

      Version-Release number of selected component (if applicable):
      BPM Suite 6.1.0.ER4

      Steps to Reproduce:
      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/BxMS/view/BxMS-6.1/view/jBPM/view/all/job/bpms-6.1-jbpm-community-single/
      use jdk1.8 in job configuration,
      module drools-simulator,
      test org.drools.simulation.impl.BatchFluentTest#testBatchSimple

      Actual results:
      org.drools.simulation.impl.BatchFluentTest.testBatchSimple fails on JDK8 due to: expected:<[y]> but was:<[x]>

      Expected results:
      All tests pass on all versions of JDK.

      Additional info:
      The same tests passes on JDK 6 and 7, both by Oracle or OpenJDK.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            jsvitak_jira Jiri Svitak (Inactive)
            Marek Baluch Marek Baluch
            Marek Baluch Marek Baluch
            Kris Verlaenen, Marek Baluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: