Skip to content

Commit

Permalink
GBL-20935
Browse files Browse the repository at this point in the history
Added comment to README about timeout
  • Loading branch information
per.ullberg committed Jun 17, 2015
1 parent ed62a12 commit 2521143
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -81,12 +81,21 @@ fork per CPU core and reuse threads would look like:
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<systemPropertyVariables>
<disableTimeout>false</disableTimeout>
<timeoutSeconds>30</timeoutSeconds>
<timeoutRetries>2</timeoutRetries>
</systemPropertyVariables>
<forkCount>1C</forkCount>
<reuseForks>true</reuseForks>
<argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
</configuration>
</plugin>

Timeout - By default, HiveRunner will timeout a test after 30s and retry that test two times. This is to cover for the bug
https://issues.apache.org/jira/browse/TEZ-2475 that at times causes test cases to not terminate due to a lost DAG reference.
The timeout may be configured with 'timeoutSeconds' and 'timeoutRetries'. Timouts may be disabled with 'disableTimeout'


2. Look at the examples
----------
Expand Down

0 comments on commit 2521143

Please sign in to comment.