File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/test/java/org/elasticsearch/examples/nativescript Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
16
16
import com .carrotsearch .randomizedtesting .annotations .Name ;
17
17
import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
18
- import org .elasticsearch .test .rest .ElasticsearchRestTestCase ;
18
+ import org .elasticsearch .test .rest .ESRestTestCase ;
19
19
import org .elasticsearch .test .rest .RestTestCandidate ;
20
20
import org .elasticsearch .test .rest .parser .RestTestParseException ;
21
21
22
22
import java .io .IOException ;
23
23
24
- public class NativeScriptExamplesRestIT extends ElasticsearchRestTestCase {
24
+ public class NativeScriptExamplesRestIT extends ESRestTestCase {
25
25
26
26
public NativeScriptExamplesRestIT (@ Name ("yaml" ) RestTestCandidate testCandidate ) {
27
27
super (testCandidate );
28
28
}
29
29
30
30
@ ParametersFactory
31
31
public static Iterable <Object []> parameters () throws IOException , RestTestParseException {
32
- return ElasticsearchRestTestCase .createParameters (0 , 1 );
32
+ return ESRestTestCase .createParameters (0 , 1 );
33
33
}
34
34
}
35
35
Original file line number Diff line number Diff line change 15
15
16
16
import org .elasticsearch .common .settings .Settings ;
17
17
import org .elasticsearch .examples .nativescript .plugin .NativeScriptExamplesPlugin ;
18
- import org .elasticsearch .test .ElasticsearchIntegrationTest ;
19
- import org .elasticsearch .test .ElasticsearchIntegrationTest .ClusterScope ;
20
- import org .elasticsearch .test .ElasticsearchIntegrationTest .Scope ;
18
+ import org .elasticsearch .test .ESIntegTestCase ;
19
+ import org .elasticsearch .test .ESIntegTestCase .ClusterScope ;
20
+ import org .elasticsearch .test .ESIntegTestCase .Scope ;
21
21
22
22
import static org .elasticsearch .cluster .metadata .IndexMetaData .SETTING_NUMBER_OF_REPLICAS ;
23
23
import static org .elasticsearch .cluster .metadata .IndexMetaData .SETTING_NUMBER_OF_SHARDS ;
24
24
25
25
/**
26
26
*/
27
27
@ ClusterScope (scope = Scope .SUITE , numDataNodes = 1 )
28
- public abstract class AbstractSearchScriptTests extends ElasticsearchIntegrationTest {
28
+ public abstract class AbstractSearchScriptTests extends ESIntegTestCase {
29
29
30
30
@ Override
31
31
public Settings indexSettings () {
You can’t perform that action at this time.
0 commit comments