You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/01/07 19:55:05 UTC
[GitHub] milleruntime opened a new issue #876: Refactor WorkAssigner Tests
to use AccumuloClient better
milleruntime opened a new issue #876: Refactor WorkAssigner Tests to use AccumuloClient better
URL: https://github.com/apache/accumulo/issues/876
DistributedWorkQueueWorkAssigner has two implementations, SequentialWorkAssigner and UnorderedWorkAssigner. Recent changes allow these classes to take an AccumuloClient as an argument to the constructors. AccumuloClient should contain objects that their parent class (DistributedWorkQueueWorkAssigner) has getters and setters for, such as client and zooCache. The following tests should be refactored so we no longer need these getters and setters in DistributedWorkQueueWorkAssigner.
- SequentialWorkAssignerTest
- UnorderedWorkAssignerTest
- SequentialWorkAssignerIT
- UnorderedWorkAssignerIT
It also might be possible to refactor so we don't need setWorkQueue as well since this should be initialized automatically.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services