Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 527 for Parallel (0.3 sec)

  1. tests/integration/README.md

                // ...
            }
    }
    ```
    
    Under the hood, this relies on Go's `t.Parallel()` and will, therefore, have the same behavior.
    
    A parallel test will run in parallel with siblings that share the same parent test. The parent test function
    will exit before the parallel children are executed. It should be noted that if the parent test is prevented
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * make it load its own version of FinalizableReferenceQueue. Then we need to interact with that
       * parallel version through reflection in order to exercise the parallel
       * FinalizableReferenceQueue, and then check that the parallel ClassLoader can be
       * garbage-collected after that.
       */
    
      public static class MyFinalizableWeakReference extends FinalizableWeakReference<Object> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationBuildOperationIntegrationTest.groovy

                            ${server.callFromBuild("parallel-task-done")}
                        }
                    }
                """
            }
            def numWorkers = (parallelTaskCount / 2) + 2 as int
    
            when:
            server.expectConcurrent(numWorkers, ["parallel-task-done"] * parallelTaskCount + ["before-interrupt"] as String[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:46:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/os/os_test.go

    		}
    	}
    }
    
    func TestFileReaddirnames(t *testing.T) {
    	t.Parallel()
    
    	t.Run(".", testReaddirnames(".", dot))
    	t.Run("sysdir", testReaddirnames(sysdir.name, sysdir.files))
    	t.Run("TempDir", testReaddirnames(t.TempDir(), nil))
    }
    
    func TestFileReaddir(t *testing.T) {
    	t.Parallel()
    
    	t.Run(".", testReaddir(".", dot))
    	t.Run("sysdir", testReaddir(sysdir.name, sysdir.files))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/runtime/arena_test.go

    		t.Errorf("expected zero waiting arena chunks, found %d", n)
    	}
    }
    
    func runSubTestUserArenaNew[S comparable](t *testing.T, value *S, parallel bool) {
    	t.Run(reflect.TypeOf(value).Elem().Name(), func(t *testing.T) {
    		if parallel {
    			t.Parallel()
    		}
    
    		// Allocate and write data, enough to exhaust the arena.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. hack/make-rules/test.sh

    OPTIONS:
      -p <number>   : number of parallel workers, must be >= 1
    EOF
    }
    
    isnum() {
      [[ "$1" =~ ^[0-9]+$ ]]
    }
    
    PARALLEL="${PARALLEL:-1}"
    while getopts "hp:i:" opt ; do
      case ${opt} in
        h)
          kube::test::usage
          exit 0
          ;;
        p)
          PARALLEL="${OPTARG}"
          if ! isnum "${PARALLEL}" || [[ "${PARALLEL}" -le 0 ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

        @RunFor([
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects =  ['manyProjectsNative'])
        ])
        def "clean assemble (native, parallel)"() {
            given:
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.args = ["--parallel", "--max-workers=12"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/AbstractWorkerLeaseServiceTest.groovy

            return workerLeaseService(true, maxWorkers)
        }
    
        WorkerLeaseService workerLeaseService(boolean parallel, int maxWorkers = 1) {
            def service = new DefaultWorkerLeaseService(coordinationService, new DefaultWorkerLimits(maxWorkers))
            service.startProjectExecution(parallel)
            return service
        }
    
        TestTrackedResourceLock resourceLock(String displayName, boolean locked, boolean hasLock = false) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/runtime/chanbarrier_test.go

    		}()
    	}
    
    	r := <-ch
    	runtime.Gosched()
    	return r.resp, r.err
    }
    
    func TestChanSendSelectBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(true)
    }
    
    func TestChanSendBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(false)
    }
    
    func testChanSendBarrier(useSelect bool) {
    	var wg sync.WaitGroup
    	outer := 100
    	inner := 100000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleHandle.java

        @Override
        protected ExecutionResult toExecutionFailure(String output, String error) {
            return new ParallelExecutionResult(output, error);
        }
    
        /**
         * Need a different output comparator for parallel execution.
         */
        private static class ParallelExecutionResult extends OutputScrapingExecutionFailure {
            public ParallelExecutionResult(String output, String error) {
                super(output, error, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top