diff --git a/src/test/java/org/opensearch/security/test/AbstractSecurityUnitTest.java b/src/test/java/org/opensearch/security/test/AbstractSecurityUnitTest.java index a9ed1e07ec..7267a69831 100644 --- a/src/test/java/org/opensearch/security/test/AbstractSecurityUnitTest.java +++ b/src/test/java/org/opensearch/security/test/AbstractSecurityUnitTest.java @@ -192,18 +192,7 @@ protected void initialize(ClusterHelper clusterHelper, ClusterInfo clusterInfo, Assert.assertEquals(clusterInfo.numNodes, cur.getNodes().size()); SearchResponse sr = tc.search(new SearchRequest(".opendistro_security")).actionGet(); - //Assert.assertEquals(5L, sr.getHits().getTotalHits()); - sr = tc.search(new SearchRequest(".opendistro_security")).actionGet(); - //Assert.assertEquals(5L, sr.getHits().getTotalHits()); - - String type=securityConfig.getType(); - try { - Thread.sleep(10000); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } }