Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for testExecution (0.39 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestWorkerFunctionalTest.groovy

            def testExecution = server.expectConcurrentAndBlock(2, SERVER_RESOURCE_1, SERVER_RESOURCE_2)
    
            when:
            def gradleHandle = executer.withTasks('test').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

            when:
            queue.stop()
    
            then:
            1 * executor.stop()
        }
    
        TestExecution testExecution(Callable<String> callable) {
            return new TestExecution(callable)
        }
    
        class TestExecution extends AbstractConditionalExecution {
            TestExecution(Callable callable) {
                super(callable)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            generator.withNonfailingTest()
            def testExecution = server.expectConcurrentAndBlock(DEFAULT_MAX_WORKERS, FAILED_RESOURCE, OTHER_RESOURCE)
    
            when:
            def gradleHandle = executer.withTasks(taskList).start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(FAILED_RESOURCE)
            testExecution.release(OTHER_RESOURCE)
            gradleHandle.waitForFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy

            def resourceForTest = generator.withFailingTests(6)
            def testExecution = server.expectOptionalAndBlock(maxWorkers * threadCount, resourceForTest.values() as String[])
    
            when:
            def gradleHandle = executer.withTasks('test', '--fail-fast').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(1)
            gradleHandle.waitForFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformParameterizedTestIntegrationTest.groovy

            writeTestClassFiles()
    
            def testExecution = server.expectConcurrentAndBlock('failingTest', 'enabledParameterizedTest')
    
            when:
            def gradle = executer.withTasks('test', '--fail-fast').start()
    
            then:
            testExecution.waitForAllPendingCalls()
    
            when:
            testExecution.release('failingTest')
    
            then:
            gradle.waitForFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy

                select
                   testClass,
                   testId,
                   testProject,
                   '${os.name()}' as os,
                   avg(TIMESTAMPDIFF(SECOND, testExecution.startTime, testExecution.endTime)) as duration
                from testExecution
               where startTime > ?
                 and (channel in (?, ?))
                  or channel like ?
                 and testProject is not null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceFlakinessDataProvider.java

         *
         * <pre>
         *  SELECT TESTID, TESTPROJECT, AVG(CONVERT(CASEWHEN(DIFFCONFIDENCE &gt; 0.97, 1, 0), DECIMAL)) AS FAILURE_RATE,
         *  FROM TESTEXECUTION
         *  WHERE (CHANNEL = 'flakiness-detection-master' OR CHANNEL = 'flakiness-detection-release')
         *  GROUP BY TESTID
         * </pre>
         *
         * @return the flakiness rate in DB, null if not exists.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/PerformanceExecutionDataProvider.java

            List<MeasuredOperationList> nonEmptyExecutions = performanceTestExecution
                .getScenarios()
                .stream()
                .filter(testExecution -> !testExecution.getTotalTime().isEmpty())
                .collect(toList());
            if (nonEmptyExecutions.size() > 1) {
                int size = nonEmptyExecutions.size();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorParallelTest.groovy

                6.times {
                    start {
                        thread.blockUntil.allStarted
                        WorkQueue queue = workerExecutor."${isolationMode}" Actions.doNothing()
                        queue.submit(TestExecution.class, Actions.doNothing())
                    }
                }
                instant.allStarted
            }
    
            then:
            6 * workerThreadRegistry.workerThread >> true
            6 * executionQueue.submit(_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:22:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r43/ToolingApiVersionSpecification.groovy

                def action = connection.action(new NullAction())
                action.standardOutput = outputStream
                action.run()
            }
        }
    
        // since 2.6
        def testExecution() {
            buildFile << """
    apply plugin: 'java'
    repositories {
        maven {
            url '${buildContext.localRepository.toURI()}'
        }
    }
    ${mavenCentralRepository()}
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top