Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for testExecution (0.44 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. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

                            performanceResults.setGradleOpts(ResultsStoreHelper.toList(testExecutions.getObject(7)));
                            performanceResults.setDaemon((Boolean) testExecutions.getObject(8));
                            performanceResults.setOperatingSystem(testExecutions.getString(9));
                            performanceResults.setJvm(testExecutions.getString(10));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

                    try (ResultSet testExecutions = testIdsStatement.executeQuery()) {
                        while (testExecutions.next()) {
                            String testClass = testExecutions.getString(1);
                            String testName = testExecutions.getString(2);
                            String testProject = testExecutions.getString(3);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top