Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for 1104 (3.44 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

        }
    
        def handlesWorkerProcessThatCrashes() {
            when:
            execute(worker(new CrashingRemoteProcess()).expectStopFailure())
    
            then:
            (0..1) * listenerMock.send("message 1", 1)
            (0..1) * listenerMock.send("message 2", 2)
            0 * listenerMock._
    
            and:
            stdout.stdOut == ""
            stdout.stdErr == ""
        }
    
        def handlesWorkerActionThatThrowsException() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                failure.assertHasCause("Timeout has been exceeded")
            }
        }
    
        def "timeout stops long running tests"() {
            given:
            (1..100).each { i ->
                file("src/test/java/Block${i}.java") << """
                    import java.util.concurrent.CountDownLatch;
                    import java.util.concurrent.TimeUnit;
                    import org.junit.Test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. pkg/kubelet/util/node_startup_latency_tracker_test.go

    		fakeClock.Step(400 * time.Millisecond)
    		tracker.RecordRegisteredNewNode()
    
    		assert.Equal(t, frozenTime.Add(1200*time.Millisecond), tracker.firstRegisteredNewNodeTime)
    
    		fakeClock.Step(1100 * time.Millisecond)
    		tracker.RecordNodeReady()
    
    		assert.Equal(t, frozenTime.Add(2300*time.Millisecond), tracker.firstNodeReadyTime)
    
    		wants := `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 05:54:25 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

          assertThat(expected.message)
            .isEqualTo("Code must be in range [1000,5000): 5000")
        }
      }
    
      @Test fun closeReservedSetThrows() {
        data.write("880203ec".decodeHex()) // Close with code 1004
        data.write("880203ed".decodeHex()) // Close with code 1005
        data.write("880203ee".decodeHex()) // Close with code 1006
        for (i in 1015..2999) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. src/runtime/crash_cgo_test.go

    			t.Skip("too slow for mips64x builders")
    		}
    	}
    	if testenv.Builder() == "darwin-amd64-10_14" {
    		// TODO(#23011): When the 10.14 builders are gone, remove this skip.
    		t.Skip("skipping due to platform bug on macOS 10.14; see https://golang.org/issue/43926")
    	}
    	got := runTestProg(t, "testprogcgo", "CgoCallbackGC")
    	want := "OK\n"
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  6. ci/devinfra/docker_windows/Dockerfile

            "InstallAllUsers=1", "PrependPath=1" -wait; \
        Remove-Item C:/TEMP/go_install.msi; \
        Remove-Item C:/TEMP/go_install_log.txt
    
    # Install Python 3.
    RUN Invoke-WebRequest "https://www.python.org/ftp/python/3.10.4/python-3.10.4-amd64.exe" \
            -OutFile C:/TEMP/python_install.exe -UseBasicParsing; \
        Start-Process C:/TEMP/python_install.exe -ArgumentList "/quiet", "/log", "C:/TEMP/python_install_log.txt", \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    var validConditionStatuses = sets.NewString(string(metav1.ConditionTrue), string(metav1.ConditionFalse), string(metav1.ConditionUnknown))
    
    const (
    	maxReasonLen  = 1 * 1024
    	maxMessageLen = 32 * 1024
    )
    
    func ValidateCondition(condition metav1.Condition, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    
    	// type is set and is a valid format
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            debug('A debug log message.')
            forbidden('A trace log message.')
        }}
    
        final LogOutput multiThreaded = new LogOutput() {{
            (1..10).each { thread ->
                (1..100).each { iteration ->
                    lifecycle("log message from thread $thread iteration $iteration")
                    quiet("stdout message from thread $thread iteration $iteration")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

        def "lazy attributes are evaluated in insertion order"() {
            def container = new DefaultMutableAttributeContainer(attributesFactory)
            def actual = []
            def expected = []
            (1..100).each { idx ->
                def testAttribute = Attribute.of("test"+idx, String)
                expected << idx
                container.attributeProvider(testAttribute, Providers.<String>changing {
                    actual << idx
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    		{
    			expr:                `sets.contains([1, 2, 3, 4], [2, 3])`,
    			expectEstimatedCost: checker.CostEstimate{Min: 29, Max: 29},
    			expectRuntimeCost:   29,
    		},
    		{
    			expr:                `sets.contains([1], [1.0, 1])`,
    			expectEstimatedCost: checker.CostEstimate{Min: 23, Max: 23},
    			expectRuntimeCost:   23,
    		},
    		{
    			expr:                `sets.contains([1, 2], [2u, 2.0])`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top