Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9086

Test: org.jbpm.test.functional.task.HumanTaskQueryFilterTest.testSingleResult fails

XMLWordPrintable

      The last failed occurrence https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/7.33.x/job/daily-build/job/daily-build-7.33.x-jbpmTestCoverageMatrix/jdk=kie-jdk1.8,label-exp=kie-linux&&kie-mem8g/47/testReport/junit/org.jbpm.test.functional.task/HumanTaskQueryFilterTest/testSingleResult/

      Error Message
      
      Expected size:<1> but was:<4> in:
      <[TaskSummaryImpl{id=4, name=john's task 4, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.769, activationTime=2020-03-29 21:15:39.769, expirationTime=null, processInstanceId=4, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=3, name=john's task 3, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.766, activationTime=2020-03-29 21:15:39.766, expirationTime=null, processInstanceId=3, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=2, name=john's task 2, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.763, activationTime=2020-03-29 21:15:39.763, expirationTime=null, processInstanceId=2, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=1, name=john's task 1, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.759, activationTime=2020-03-29 21:15:39.759, expirationTime=null, processInstanceId=1, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true}]>
      
      Stacktrace
      
      java.lang.AssertionError: 
      
      Expected size:<1> but was:<4> in:
      <[TaskSummaryImpl{id=4, name=john's task 4, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.769, activationTime=2020-03-29 21:15:39.769, expirationTime=null, processInstanceId=4, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=3, name=john's task 3, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.766, activationTime=2020-03-29 21:15:39.766, expirationTime=null, processInstanceId=3, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=2, name=john's task 2, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.763, activationTime=2020-03-29 21:15:39.763, expirationTime=null, processInstanceId=2, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true},
          TaskSummaryImpl{id=1, name=john's task 1, subject=, description=, statusId=Reserved, priority=0, skipable=false, actualOwnerId=john, createdById=null, createdOn=2020-03-29 21:15:39.759, activationTime=2020-03-29 21:15:39.759, expirationTime=null, processInstanceId=1, processId=org.jbpm.test.functional.task.HumanTaskQueryFilter-configurableHumanTask, processSessionId=0, deploymentId=default-singleton, parentId=-1, potentialOwners=null, quickTaskSummary=true}]>
      	at org.jbpm.test.functional.task.HumanTaskQueryFilterTest.testSingleResult(HumanTaskQueryFilterTest.java:134)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at qa.tools.ikeeper.test.IKeeperJUnitConnector$1.evaluate(IKeeperJUnitConnector.java:38)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: