File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,10 @@ public void setup() throws Exception {
9797 config .setBoolean ("hbase.snapshot.zk.coordinated" , false );
9898 // using SnapshotVerifyProcedure to verify snapshot
9999 config .setInt ("hbase.snapshot.remote.verify.threshold" , 1 );
100- config .setInt (HConstants .MASTER_INFO_PORT , 8080 );
100+ // disable info server. Info server is useful when we run unit tests locally, but it will
101+ // fails integration testing of jenkins.
102+ // config.setInt(HConstants.MASTER_INFO_PORT, 8080);
103+
101104 // delay dispatch so that we can do something, for example kill a target server
102105 config .setInt (RemoteProcedureDispatcher .DISPATCH_DELAY_CONF_KEY , 10000 );
103106 config .setInt (RemoteProcedureDispatcher .DISPATCH_MAX_QUEUE_SIZE_CONF_KEY , 128 );
Original file line number Diff line number Diff line change @@ -74,7 +74,10 @@ public class TestSnapshotRegionProcedure {
7474 public void setup () throws Exception {
7575 TEST_UTIL = new HBaseTestingUtil ();
7676 Configuration conf = TEST_UTIL .getConfiguration ();
77- conf .setInt (HConstants .MASTER_INFO_PORT , 8080 );
77+ // disable info server. Info server is useful when we run unit tests locally, but it will
78+ // fails integration testing of jenkins.
79+ // conf.setInt(HConstants.MASTER_INFO_PORT, 8080);
80+
7881 // delay dispatch so that we can do something, for example kill a target server
7982 conf .setInt (RemoteProcedureDispatcher .DISPATCH_DELAY_CONF_KEY , 10000 );
8083 conf .setInt (RemoteProcedureDispatcher .DISPATCH_MAX_QUEUE_SIZE_CONF_KEY , 128 );
Original file line number Diff line number Diff line change @@ -73,7 +73,10 @@ public class TestSnapshotVerifyProcedure {
7373 public void setup () throws Exception {
7474 TEST_UTIL = new HBaseTestingUtil ();
7575 Configuration conf = TEST_UTIL .getConfiguration ();
76- conf .setInt (HConstants .MASTER_INFO_PORT , 8080 );
76+ // disable info server. Info server is useful when we run unit tests locally, but it will
77+ // fails integration testing of jenkins.
78+ // conf.setInt(HConstants.MASTER_INFO_PORT, 8080);
79+
7780 // delay dispatch so that we can do something, for example kill a target server
7881 conf .setInt (RemoteProcedureDispatcher .DISPATCH_DELAY_CONF_KEY , 20000 );
7982 conf .setInt (RemoteProcedureDispatcher .DISPATCH_MAX_QUEUE_SIZE_CONF_KEY , 128 );
You can’t perform that action at this time.
0 commit comments