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

org.jbpm.designer.server.BusinessProcessCopyHelperTest produces different process ID on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 6.3.2
    • jBPM Designer
    • BxMS 6.3.2 CR1
      Windows

    • RC1
    • Hide

      Run org.jbpm.designer.server.BusinessProcessCopyHelperTest.testBusinessProcessFile test on Windows and compare the process ID.

      Show
      Run org.jbpm.designer.server.BusinessProcessCopyHelperTest.testBusinessProcessFile test on Windows and compare the process ID.

      This is a follow-up issue to RHBPMS-4164: the org.jbpm.designer.server.BusinessProcessCopyHelperTest.testBusinessProcessFile introduced by the fix to RHBPMS-1698 failed on Windows:

      org.junit.ComparisonFailure: expected:<[.Evaluation/src/main/resources/]MyNewProcess> but was:<[Evaluation.]MyNewProcess>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.jbpm.designer.server.BusinessProcessCopyHelperTest.testBusinessProcessFile(BusinessProcessCopyHelperTest.java:101)
      

      The test has been fixed by changing the assertion, nevertheless, the reason why the ProcessID after copying is generated differently on Windows (compared to Linux) should be investigated. It is possible that the problem is in the test only, but we should make sure.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              mwinkler@redhat.com Marek Winkler (Inactive)
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: