Stabilize 5 unstable tests (#624)

In this commit three test that were unstable for some time has been stabilized.
1- TestWorkflowControllerDataProvider:
This test were rely on thread sleep. This has been changed to TestHelper.verify.
2-TestDrop:
This test were rely on thread sleep. This has been changed to TestHelper.verify.
3-TestGetLastScheduledTaskExecInfo:
This test were rely on thread sleep. This has been changed to TestHelper.verify.
Also a check has been added to measure the scheduled tasks and compared the
result with the expected number of tasks that should be scheduled.
Also in this test some of the hard coded strings for queue namning
has been removed and replaced with TestHelper.getTestMethodName().
4- TestStopWorkflow:
At the beggining of each test, participant have started and at the end of the
test, participants have stopped. Hence dependency between the tests added to
avoid potential conflicts between individual tests. Also one global varible
has been use among the task to stop which has been changed to local variable.
Also Thread.sleep has been eliminated.
5- TestClusterVerifier:
In this test, Thread.sleep has been removed.
5 files changed
tree: e40e485ebf118bb04d2f6b8049af006c4525caab
  1. helix-admin-webapp/
  2. helix-agent/
  3. helix-core/
  4. helix-front/
  5. helix-rest/
  6. recipes/
  7. scripts/
  8. website/
  9. .gitignore
  10. build
  11. bump-up.command
  12. deploySite.sh
  13. helix-style-intellij.xml
  14. helix-style.xml
  15. hpost-review.sh
  16. LICENSE
  17. NOTICE
  18. pom.xml
  19. README.md
README.md

Apache Helix

Helix is part of the Apache Software Foundation.

Project page: http://helix.apache.org/

Mailing list: http://helix.apache.org/mail-lists.html

Build

mvn clean install package -DskipTests

WHAT IS HELIX

Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:

  1. Automatic assignment of resource/partition to nodes
  2. Node failure detection and recovery
  3. Dynamic addition of Resources
  4. Dynamic addition of nodes to the cluster
  5. Pluggable distributed state machine to manage the state of a resource via state transitions
  6. Automatic load balancing and throttling of transitions