From e270d771ba0463cbce4eea7651cbdf9a7d2e4c52 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Fri, 27 Oct 2023 11:01:17 -0700 Subject: [PATCH] Remove the unused example Signed-off-by: Ryan Liang --- .../org/opensearch/security/IntegrationTests.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/test/java/org/opensearch/security/IntegrationTests.java b/src/test/java/org/opensearch/security/IntegrationTests.java index e0792de503..9a4bf7bba8 100644 --- a/src/test/java/org/opensearch/security/IntegrationTests.java +++ b/src/test/java/org/opensearch/security/IntegrationTests.java @@ -1074,16 +1074,4 @@ public void testMonitorHealth() throws Exception { RestHelper rh = nonSslRestHelper(); Assert.assertEquals(HttpStatus.SC_OK, rh.executeGetRequest("_cat/health", encodeBasicHeader("picard", "picard")).getStatusCode()); } - - // TODO: SOMETHING LIKE THIS - @Test - public void testServiceAccountClusterPermissions() throws Exception { - - setup(); - - RestHelper rh = nonSslRestHelper(); - HttpResponse response = rh.executeGetRequest("_cat/health", encodeBasicHeader("bug.99", "nagilum")); - System.out.println("The service account cluster perm response is: " + response.toString()); - Assert.assertEquals(HttpStatus.SC_FORBIDDEN, response.getStatusCode()); - } }