This is an automated email from the ASF dual-hosted git repository. mmiller pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/master by this push: new 33317e8 Update MAC javadoc 33317e8 is described below commit 33317e82c7be0eda993dd5b60cc9987a9251a82c Author: Mike Miller <mmil...@apache.org> AuthorDate: Thu Apr 4 12:09:41 2019 -0400 Update MAC javadoc --- .../java/org/apache/accumulo/harness/AccumuloClusterHarness.java | 6 ++++-- .../java/org/apache/accumulo/harness/SharedMiniClusterBase.java | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java b/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java index c87d1a3..51708c3 100644 --- a/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java +++ b/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java @@ -57,8 +57,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * General Integration-Test base class that provides access to an Accumulo instance for testing. - * This instance could be MAC or a standalone instance. + * Integration-Test base class that provides a MAC instance per test. WARNING: This IT type will + * setup and teardown an entire cluster for every test annotated with @Test and is reserved for more + * advanced ITs that do crazy things. For more typical, expected behavior of a cluster see + * {@link SharedMiniClusterBase}. This instance can be MAC or a standalone instance. */ @Category(StandaloneCapableClusterTests.class) public abstract class AccumuloClusterHarness extends AccumuloITBase diff --git a/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java b/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java index 4195120..2d2c72f 100644 --- a/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java +++ b/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java @@ -41,7 +41,9 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Convenience class which starts a single MAC instance for a test to leverage. + * Integration-Test base class which starts one MAC for the entire Integration Test. This IT type is + * faster and more geared for testing typical, expected behavior of a cluster. For more advanced + * testing see {@link AccumuloClusterHarness} * * There isn't a good way to build this off of the {@link AccumuloClusterHarness} (as would be the * logical place) because we need to start the MiniAccumuloCluster in a static BeforeClass-annotated