File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
opensearch/src/test/java/org/opensearch/sql/opensearch/client Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 19
19
import static org .mockito .Mockito .never ;
20
20
import static org .mockito .Mockito .verify ;
21
21
import static org .mockito .Mockito .when ;
22
- import static org .opensearch .core .xcontent .MediaTypeParserRegistry .setDefaultMediaType ;
23
22
import static org .opensearch .sql .opensearch .client .OpenSearchClient .META_CLUSTER_NAME ;
24
23
import static org .opensearch .sql .opensearch .data .type .OpenSearchDataType .MappingType ;
25
24
35
34
import lombok .SneakyThrows ;
36
35
import org .apache .commons .lang3 .reflect .FieldUtils ;
37
36
import org .apache .lucene .search .TotalHits ;
38
- import org .junit .jupiter .api .BeforeAll ;
39
37
import org .junit .jupiter .api .BeforeEach ;
40
38
import org .junit .jupiter .api .DisplayNameGeneration ;
41
39
import org .junit .jupiter .api .DisplayNameGenerator ;
@@ -103,11 +101,6 @@ void setUp() {
103
101
client = new OpenSearchRestClient (restClient );
104
102
}
105
103
106
- @ BeforeAll
107
- static void setUpJSON () {
108
- setDefaultMediaType (XContentType .JSON );
109
- }
110
-
111
104
@ Test
112
105
void is_index_exist () throws IOException {
113
106
when (restClient .indices ()
You can’t perform that action at this time.
0 commit comments