ctubbsii commented on a change in pull request #2167:
URL: https://github.com/apache/accumulo/pull/2167#discussion_r652063236
##########
File path: test/src/main/java/org/apache/accumulo/test/ExternalCompactionIT.java
##########
@@ -193,22 +195,55 @@ public boolean accept(Key k, Value v) {
}
+ @Before
+ public void setUp() throws Exception {
+ if (SharedMiniClusterBase.getCluster() == null) {
+ SharedMiniClusterBase.startMiniClusterWithConfig(this);
+ }
+ }
+
+ private void stopProcess(Process process) throws Exception {
Review comment:
I saw this is called several times in some places with the same pattern.
Could do the null check inside this method, and the arg list could be varargs:
```private void stopProcess(ProcessInfo ... processes) ... ```
--
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]