commit | 4b3502f598d06a5cb5d06c335de326424cf0c8f3 | [log] [tgz] |
---|---|---|
author | Stephen O'Donnell <stephen.odonnell@gmail.com> | Tue Sep 28 17:14:02 2021 +0100 |
committer | GitHub <noreply@github.com> | Tue Sep 28 17:14:02 2021 +0100 |
tree | eef75309e484c5ce074f4794a89dabb91afd58a5 | |
parent | 181266b2742113d564bc93e93a0c1b99fd7794de [diff] |
HDDS-5792. Speed up TestNSSummaryAdmin by having zero Datanodes (#2688)
diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestNSSummaryAdmin.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestNSSummaryAdmin.java index f563bee..1cfd3f7 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestNSSummaryAdmin.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestNSSummaryAdmin.java
@@ -42,7 +42,8 @@ conf.setBoolean("ozone.om.enable.filesystem.paths", true); conf.set("ozone.om.metadata.layout", "PREFIX"); conf.set(OZONE_RECON_ADDRESS_KEY, "localhost:9888"); - cluster = MiniOzoneCluster.newBuilder(conf).includeRecon(true).build(); + cluster = MiniOzoneCluster.newBuilder(conf) + .withoutDatanodes().includeRecon(true).build(); cluster.waitForClusterToBeReady(); // Client uses server conf for this test ozoneAdmin = new OzoneAdmin(conf);