[
https://issues.apache.org/jira/browse/OOZIE-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439161#comment-13439161
]
Hadoop QA commented on OOZIE-957:
---------------------------------
Testing JIRA OOZIE-957
{code}
----------------------------
+1 PATCH_APPLIES
CLEAN cleaned target directories
+1 RAT
+1 the patch does not seem to introduce new RAT warnings
+1 COMPILE
+1 HEAD compiles
+1 patch compiles
+1 the patch does not seem to introduce new javac warnings
-1 TESTS - the patch failed the following testcases:
org.apache.oozie.service.TestStatusTransitService
Tests run: 874
Tests failures: 2
Tests errors: 0
----------------------------
{code}
The full output of the test-patch run is available at
https://builds.apache.org/job/oozie-trunk-precommit-build/31/
> TestStatusTransitService and TestCoordKillXCommand are failing randomly;
> replace Thread.sleep()
> -----------------------------------------------------------------------------------------------
>
> Key: OOZIE-957
> URL: https://issues.apache.org/jira/browse/OOZIE-957
> Project: Oozie
> Issue Type: Bug
> Components: tests
> Affects Versions: trunk
> Reporter: Alejandro Abdelnur
> Assignee: Robert Kanter
> Fix For: trunk
>
> Attachments: OOZIE-957.patch,
> org.apache.oozie.service.TestStatusTransitService-output.txt,
> org.apache.oozie.service.TestStatusTransitService.txt
>
>
> {code}
> Failed tests:
> testCoordStatusTransitServicePaused(org.apache.oozie.service.TestStatusTransitService):
> expected:<RUNNINGWITHERROR> but was:<PAUSEDWITHERROR>
>
> testBundleStatusTransitServiceSucceeded2(org.apache.oozie.service.TestStatusTransitService):
> expected:<SUCCEEDED> but was:<RUNNING>
>
> testCoordStatusTransitServiceSuspendedWithError(org.apache.oozie.service.TestStatusTransitService):
> expected:<SUSPENDEDWITHERROR> but was:<SUSPENDED>
> Tests in error:
>
> testCoordKillSuccess1(org.apache.oozie.command.coord.TestCoordKillXCommand):
> The transaction has been rolled back. See the nested exceptions for details
> on the errors that occurred.
> {code}
> We should replace all calls to Thread.sleep() in tests with a call to
> waitFor() so that oozie.test.waitfor.ratio will scale them (unless there is a
> specific reason not to).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira