HDFS-14681. RBF: TestDisableRouterQuota failed because port 8888 was occupied.

This commit is contained in:
Chao Sun 2019-07-31 10:24:48 -07:00 committed by Inigo Goiri
parent 8bda91d20a
commit b008072044

View File

@ -46,6 +46,7 @@ public static void setUp() throws Exception {
.quota(false) //set false to verify the quota disabled in Router
.rpc()
.build();
routerConf.set(RBFConfigKeys.DFS_ROUTER_RPC_ADDRESS_KEY, "0.0.0.0:0");
router.init(routerConf);
router.setRouterId("TestRouterId");
router.start();