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

[hbase] branch branch-2 updated: HBASE-25777 Fix wrong initialization value in StressAssignmentManagerMonkeyFactory (#3164)

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

niuyulin pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 9cf8a48  HBASE-25777 Fix wrong initialization value in StressAssignmentManagerMonkeyFactory (#3164)
9cf8a48 is described below

commit 9cf8a48d20f158602de8ba4bece6ed1c34426aac
Author: niuyulin <yu...@gmail.com>
AuthorDate: Mon Apr 19 17:46:57 2021 +0800

    HBASE-25777 Fix wrong initialization value in StressAssignmentManagerMonkeyFactory (#3164)
    
    Signed-off-by: meiyi <my...@gmail.com>
---
 .../hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java
index 16d6b29..d64bf0b 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java
@@ -74,8 +74,8 @@ public class StressAssignmentManagerMonkeyFactory extends MonkeyFactory {
         new MoveRandomRegionOfTableAction(MonkeyConstants.DEFAULT_MOVE_RANDOM_REGION_SLEEP_TIME,
             tableName),
         new RestartRandomRsAction(MonkeyConstants.DEFAULT_RESTART_RANDOM_RS_SLEEP_TIME),
-        new BatchRestartRsAction(MonkeyConstants.DEFAULT_ROLLING_BATCH_RESTART_RS_SLEEP_TIME, 0.5f),
-        new RollingBatchRestartRsAction(MonkeyConstants.DEFAULT_BATCH_RESTART_RS_SLEEP_TIME, 1.0f),
+        new BatchRestartRsAction(MonkeyConstants.DEFAULT_BATCH_RESTART_RS_SLEEP_TIME, 0.5f),
+        new RollingBatchRestartRsAction(MonkeyConstants.DEFAULT_ROLLING_BATCH_RESTART_RS_SLEEP_TIME, 1.0f),
         new RestartRsHoldingMetaAction(MonkeyConstants.DEFAULT_RESTART_RS_HOLDING_META_SLEEP_TIME),
         new ChangeSplitPolicyAction(tableName),
         new SplitAllRegionOfTableAction(tableName),