Skip to content

Commit

Permalink
remove imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hsiang9431-amzn committed Aug 6, 2021
1 parent 19b844e commit da9f003
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
import org.opensearch.index.reindex.ReindexRequest;
import org.opensearch.security.configuration.ClusterInfoHolder;
import org.opensearch.security.securityconf.DynamicConfigModel;
import org.opensearch.security.support.ConfigConstants;
import org.opensearch.snapshots.SnapshotInfo;
import org.opensearch.snapshots.SnapshotUtils;
import org.opensearch.transport.RemoteClusterService;
Expand Down
4 changes: 0 additions & 4 deletions src/test/java/org/opensearch/security/ResolveAPITests.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@
import org.opensearch.client.transport.TransportClient;
import org.opensearch.common.settings.Settings;
import org.opensearch.common.xcontent.XContentType;
import org.opensearch.security.support.ConfigConstants;
import org.opensearch.security.test.DynamicSecurityConfig;
import org.opensearch.security.test.SingleClusterTest;
import org.opensearch.security.test.helper.rest.RestHelper;

import java.util.Arrays;
import java.util.Collections;

public class ResolveAPITests extends SingleClusterTest {

Expand Down Expand Up @@ -144,7 +141,6 @@ public void testResolveDnfofTrue() throws Exception {

Assert.assertEquals(HttpStatus.SC_FORBIDDEN, (res = rh.executeGetRequest("_resolve/index/vulcangov*?pretty", encodeBasicHeader("worf", "worf"))).getStatusCode());
log.debug(res.getBody());
assertNotContains(res, "*vulcangov*");
}

private void setupIndices() {
Expand Down

0 comments on commit da9f003

Please sign in to comment.