zhangmeng916 opened a new pull request #806: add one more test for auto registration URL: https://github.com/apache/helix/pull/806 ### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: (#694 ) ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR adds a test for testing auto registration. The basic logic of a participant auto registers to a cluster is tested, but when waiting for Azure cloud environment response, an exception will be thrown as there is no Azure environment available. The Azure specific logic will be tested in Azure real environment later. ### Tests - [X] The following tests are written for this issue: testInstanceAutoJoin - [X] The following is the result of the "mvn test" command on the appropriate module: [ERROR] Tests run: 902, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3,610.949 s <<< FAILURE! - in TestSuite [ERROR] testWorkflowFailureJobThreshold(org.apache.helix.integration.task.TestJobFailureDependence) Time elapsed: 300.01 s <<< FAILURE! org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.testWorkflowFailureJobThreshold() didn't finish within the time-out 300000 [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestJobFailureDependence.testWorkflowFailureJobThreshold ยป ThreadTimeout Metho... [INFO] [ERROR] Tests run: 902, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:00 h [INFO] Finished at: 2020-02-06T09:58:26-08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project helix-core: There are test failures. [ERROR] [ERROR] Please refer to /home/mnzhang/helix/helix-core/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. ### Commits - [X] My commits all reference appropriate Apache Helix GitHub issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)": 1. Subject is separated from body by a blank line 1. Subject is limited to 50 characters (not including Jira issue reference) 1. Subject does not end with a period 1. Subject uses the imperative mood ("add", not "adding") 1. Body wraps at 72 characters 1. Body explains "what" and "why", not "how" ### Code Quality - [X] My diff has been formatted using helix-style.xml
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
