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 21:02:11 GMT

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

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

well it is more vicious - once again I agree the fix is valid code but I consider as a workaround.
It actually affects all fields which shouldnt be the case.

So either as you said we fix all usages (not only status) or we fix the persistence services.
These last one being used by admin tools and for eviction of old data I think the persistence
service is a better place than just our usages - ie let users use our persistence service
while spec miss few methods.

> 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