Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for workActionClass (0.18 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkQueueIntegrationTest.groovy

        WorkerExecutorFixture.WorkActionClass parallelWorkAction
    
        def setup() {
            blockingHttpServer.start()
    
            parallelParameterType = fixture.workParameterClass("ParallelParameter", "org.gradle.test").withFields([
                    "itemName": "String",
                    "shouldFail": "Boolean"
            ])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelBuildOperationsIntegrationTest.groovy

        def buildOperations = new BuildOperationsFixture(executer, temporaryFolder)
        WorkerExecutorFixture.WorkParameterClass parallelParameterType
        WorkerExecutorFixture.WorkActionClass parallelWorkAction
    
    
        def setup() {
            blockingHttpServer.start()
    
            buildFile << """
                task slowTask {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonFailureLoggingIntegrationTest.groovy

            buildFile << """
                task runInWorker(type: WorkerTask) {
                    isolationMode = 'processIsolation'
                    additionalForkOptions = { jvmArgs('--not-a-real-argument') }
                    workActionClass = ${workAction.name}.class
                }
            """
        }
    
        def "worker startup failure messages are associated with the task that starts it"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkQueue.java

         * will be thrown from {@link #await()} or from the surrounding task action if {@link #await()} is not used.
         */
        <T extends WorkParameters> void submit(Class<? extends WorkAction<T>> workActionClass, Action<? super T> parameterAction);
    
        /**
         * Blocks until all work associated with this queue is complete.  Note that when using this method inside
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/workers/internal/WorkerPruningSoakTest.groovy

                    def projectCounter = i
                    def runInWorker = tasks.register("runInWorker" + i, WorkerTask) {
                        isolationMode = 'processIsolation'
                        workActionClass = AlternateWorkAction.class
                        additionalForkOptions = {
                            jvmArgs += ['-DprojectCounter=' + projectCounter, '-DbuildCounter=' + buildCounter]
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

        }
    
        void newSnapshot() {
            logSnapshot = daemons.daemon.log
        }
    
        String sinceSnapshot() {
            return daemons.daemon.log - logSnapshot
        }
    
        WorkerExecutorFixture.WorkActionClass getWorkerExecutorThatCanFailUnexpectedly() {
            def executionClass = fixture.workActionThatCreatesFiles
            executionClass.action += """
                if (getParameters().getFiles().contains("poisonPill")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top