batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-73) stochastic tck test-failure in JobOperatorTests.testJobOperatorAbandonJobDuringARestart
Date Mon, 23 Nov 2015 15:17:11 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022243#comment-15022243
] 

Romain Manni-Bucau commented on BATCHEE-73:
-------------------------------------------

ok so the patch doesnt change anything is the DB is not corrupted.

If the DB is corrupted it should fail in the persistence layer IMO and we shouldnt skip the
status checking there then, no?

> stochastic tck test-failure in JobOperatorTests.testJobOperatorAbandonJobDuringARestart
> ---------------------------------------------------------------------------------------
>
>                 Key: BATCHEE-73
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-73
>             Project: BatchEE
>          Issue Type: Bug
>          Components: jbatch-core
>    Affects Versions: 0.3-incubating
>            Reporter: Reinhard Sandtner
>             Fix For: 0.3-incubating
>
>         Attachments: BATCHEE-73.patch
>
>
> {{JobOperatorTests.testJobOperatorAbandonJobDuringARestart}} fails stochastically
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message