[
https://issues.apache.org/jira/browse/HDDS-1808?focusedWorklogId=299552&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-299552
]
ASF GitHub Bot logged work on HDDS-1808:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Aug/19 16:54
Start Date: 22/Aug/19 16:54
Worklog Time Spent: 10m
Work Description: adoroszlai commented on pull request #1338: HDDS-1808.
TestRatisPipelineCreateAndDestory times out
URL: https://github.com/apache/hadoop/pull/1338
## What changes were proposed in this pull request?
* Increase timeout of the test cases (both of them are prone to
intermittent timeout). Rationale: (1) there is already a timeout on
`waitForPipelines()`, which was increased in `0d62753da96` without increasing
overall test timeout, (2) test timeout needs to account for mini cluster
startup.
* Fix typo in class name.
https://issues.apache.org/jira/browse/HDDS-1808
## How was this patch tested?
Ran the test several times. It passed in all cases. It took as long as 77
seconds in one case, so one of the two test cases would have failed with the
original 30 second timeout.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 299552)
Remaining Estimate: 0h
Time Spent: 10m
> TestRatisPipelineCreateAndDestory#testPipelineCreationOnNodeRestart times out
> -----------------------------------------------------------------------------
>
> Key: HDDS-1808
> URL: https://issues.apache.org/jira/browse/HDDS-1808
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: SCM
> Affects Versions: 0.5.0
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> Error Message
> test timed out after 30000 milliseconds
> Stacktrace
> java.lang.Exception: test timed out after 30000 milliseconds
> at java.lang.Thread.sleep(Native Method)
> at
> org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:382)
> at
> org.apache.hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory.waitForPipelines(TestRatisPipelineCreateAndDestory.java:126)
> at
> org.apache.hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory.testPipelineCreationOnNodeRestart(TestRatisPipelineCreateAndDestory.java:121)
> 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:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]