Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for RestIntegTestTask (0.13 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestIntegTestTask.java

     * integ test tasks based on {@link StandaloneRestIntegTestTask} and
     * conventional configured tasks of {@link RestIntegTestTask}
     */
    @CacheableTask
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 862 bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

        private RestTestUtil() {
        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with the source set of the same name
         */
        public static Provider<RestIntegTestTask> registerTestTask(Project project, SourceSet sourceSet) {
            return registerTestTask(project, sourceSet, sourceSet.getName());
        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with a custom name for the provided source set
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestBasePlugin.java

                    .getByName(TestClustersPlugin.EXTENSION_NAME);
                ElasticsearchCluster cluster = testClusters.maybeCreate(restIntegTestTask.getName());
                restIntegTestTask.useCluster(cluster);
                restIntegTestTask.include("**/*IT.class");
                restIntegTestTask.systemProperty("tests.rest.load_packaged", Boolean.FALSE.toString());
                if (systemProperty(TESTS_REST_CLUSTER) == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 05 18:56:52 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

            String testTaskName = "yamlRestTestV"+ compatibleVersion + "CompatTest";
      
            // setup the test task
            Provider<RestIntegTestTask> yamlRestCompatTestTask = RestTestUtil.registerTestTask(project, yamlCompatTestSourceSet, testTaskName);
            project.getTasks().withType(RestIntegTestTask.class).named(testTaskName).configure(testTask -> {
                // Use test runner and classpath from "normal" yaml source set
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  5. BUILDING.md

    doing less.
    
    To wire this registered cluster into a `TestClusterAware` task (e.g. `RestIntegTest`) you can resolve the actual cluster from the provider instance:
    
        tasks.register('someClusterTest', RestIntegTestTask) {
            useCluster someClusterProvider
            nonInputProperties.systemProperty 'tests.leader_host', "${-> someClusterProvider.get().getAllHttpSocketURI().get(0)}"
        }
    
    #### Adding additional integration tests
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestPlugin.java

            }
            project.getPlugins().apply(RestTestBasePlugin.class);
            project.getPluginManager().apply(InternalTestClustersPlugin.class);
            final var integTest = project.getTasks().register("integTest", RestIntegTestTask.class, task -> {
                task.setDescription("Runs rest tests against an elasticsearch cluster.");
                task.setGroup(JavaBasePlugin.VERIFICATION_GROUP);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

                // Tell the tests we're running with ssl enabled
                project.getTasks()
                    .withType(RestIntegTestTask.class)
                    .configureEach(runner -> runner.systemProperty("tests.ssl.enabled", "true"));
            });
    
            project.getPlugins().withType(TestClustersPlugin.class).configureEach(clustersPlugin -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

            // Skip docker compose tasks if it is unavailable
            maybeSkipTasks(tasks, dockerSupport, Test.class);
            maybeSkipTasks(tasks, dockerSupport, getTaskClass("org.elasticsearch.gradle.internal.test.RestIntegTestTask"));
            maybeSkipTasks(tasks, dockerSupport, TestingConventionsTasks.class);
            maybeSkipTasks(tasks, dockerSupport, getTaskClass("org.elasticsearch.gradle.internal.test.AntFixture"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top