summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java')
-rw-r--r--clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java
index 2b86b60a0dd..106803ec3f1 100644
--- a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java
+++ b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2/PartitionTest.java
@@ -46,19 +46,4 @@ public class PartitionTest extends StateRestApiTest {
"}";
assertEquals(expected, jsonWriter.createJson(response).toString(2));
}
-
- @Test
- public void testRecursiveStorageClusterDoesNotIncludePartitionMetrics() throws Exception {
- setUp(true);
- UnitResponse response = restAPI.getState(new StateRequest("music/storage", 2));
- String expected =
- "{\"state\": {\"generated\": {\n" +
- " \"state\": \"up\",\n" +
- " \"reason\": \"\"\n" +
- "}}}";
- JSONObject json = jsonWriter.createJson(response);
- assertEquals(expected, json.getJSONObject("node").getJSONObject("1").
- getJSONObject("partition").getJSONObject("0").
- toString(2));
- }
}