You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/02/04 19:28:02 UTC

[hbase] branch master updated: HBASE-25546 PerfTestCompactionPolicies is failing because of NPE (addendum2); add class comment

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a69093  HBASE-25546 PerfTestCompactionPolicies is failing because of NPE (addendum2); add class comment
3a69093 is described below

commit 3a690931f50521f6a88a20c733ac2fd9a2f2a321
Author: stack <st...@apache.org>
AuthorDate: Thu Feb 4 11:27:06 2021 -0800

    HBASE-25546 PerfTestCompactionPolicies is failing because of NPE (addendum2); add class comment
---
 .../hbase/regionserver/compactions/PerfTestCompactionPolicies.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/PerfTestCompactionPolicies.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/PerfTestCompactionPolicies.java
index e6b0499..314b966 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/PerfTestCompactionPolicies.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/PerfTestCompactionPolicies.java
@@ -43,6 +43,11 @@ import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
+/**
+ * This is not a unit test. It is not run as part of the general unit test suite. It is for
+ * comparing compaction policies. You must run it explicitly;
+ * e.g. mvn test -Dtest=PerfTestCompactionPolicies
+ */
 @Category({RegionServerTests.class, MediumTests.class})
 @RunWith(Parameterized.class)
 public class PerfTestCompactionPolicies extends MockStoreFileGenerator {