Skip to content

Conversation

@junkaixue
Copy link
Contributor

@junkaixue junkaixue commented Jul 9, 2019

Current Helix HealthCheck API checks the ANY_INSTANCE resources, which is not necessary. Since ANY_INSTANCE resources only have single partition with 1 replica, there is no need to check sibling health status.

This commit fixes issue #328

TEST RESULT:
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestWorkflowTermination.testWorkflowSucceed:89->verifyWorkflowCleanup:256 expected: but was:
[INFO]
[ERROR] Tests run: 834, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59:42 min
[INFO] Finished at: 2019-07-09T17:51:09-07:00
[INFO] Final Memory: 30M/981M
[INFO] ------------------------------------------------------------------------

[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.637 s - in org.apache.helix.integration.task.TestWorkflowTermination
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.461 s
[INFO] Finished at: 2019-07-09T17:53:16-07:00
[INFO] Final Memory: 30M/988M
[INFO] ------------------------------------------------------------------------

Current Helix HealthCheck API checks the ANY_INSTANCE resources, which is not necessary. Since ANY_INSTANCE resources only have single partition with 1 replica, there is no need to check sibling health status.

This commit fixes issue apache#328
@junkaixue junkaixue merged commit 0740cac into apache:master Jul 10, 2019
@lei-xia
Copy link
Member

lei-xia commented Jul 10, 2019

5 tests fails, should we fix the tests?

@junkaixue
Copy link
Contributor Author

5 tests fails, should we fix the tests?

There is only 1 test is unstable. We will try to fix it. I run it locally again, they all passed:
[INFO] Tests run: 834, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3,552.661 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 834, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59:18 min
[INFO] Finished at: 2019-07-09T18:53:04-07:00
[INFO] Final Memory: 30M/975M
[INFO] ------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants