Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-73

stochastic tck test-failure in JobOperatorTests.testJobOperatorAbandonJobDuringARestart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4-incubating
    • jbatch-core
    • None

    Description

      JobOperatorTests.testJobOperatorAbandonJobDuringARestart fails stochastically

      java.lang.AssertionError: Did not see expected JobExecutionIsRunningException for abandon attempt during restart
              at com.ibm.jbatch.tck.utils.AssertionUtils.assertWithMessage(AssertionUtils.java:52)
              at com.ibm.jbatch.tck.tests.jslxml.JobOperatorTests.testJobOperatorAbandonJobDuringARestart(JobOperatorTests.java:345)
              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:497)
              at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
              at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
              at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
              at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
              at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
              at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
              at org.testng.TestRunner.privateRun(TestRunner.java:767)
              at org.testng.TestRunner.run(TestRunner.java:617)
              at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
              at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
              at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
              at org.testng.SuiteRunner.run(SuiteRunner.java:240)
              at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
              at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
              at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
              at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
              at org.testng.TestNG.run(TestNG.java:1057)
              at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:282)
              at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:83)
              at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:114)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      

      Attachments

        1. BATCHEE-73.patch
          1 kB
          Reinhard Sandtner

        Activity

          People

            rsandtner Reinhard Sandtner
            rsandtner Reinhard Sandtner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: