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()); - } }