HDFS-14681. RBF: TestDisableRouterQuota failed because port 8888 was occupied.
This commit is contained in:
parent
8bda91d20a
commit
b008072044
|
@ -46,6 +46,7 @@ public class TestDisableRouterQuota {
|
||||||
.quota(false) //set false to verify the quota disabled in Router
|
.quota(false) //set false to verify the quota disabled in Router
|
||||||
.rpc()
|
.rpc()
|
||||||
.build();
|
.build();
|
||||||
|
routerConf.set(RBFConfigKeys.DFS_ROUTER_RPC_ADDRESS_KEY, "0.0.0.0:0");
|
||||||
router.init(routerConf);
|
router.init(routerConf);
|
||||||
router.setRouterId("TestRouterId");
|
router.setRouterId("TestRouterId");
|
||||||
router.start();
|
router.start();
|
||||||
|
|
Loading…
Reference in New Issue