Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for tims (0.08 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    	}
    
    	// verify no pod was yet killed because there has not yet been enough time passed.
    	if podKiller.pod != nil {
    		t.Errorf("Manager should not have killed a pod yet, but killed: %v", podKiller.pod.Name)
    	}
    
    	// step forward in time pass the grace period
    	fakeClock.Step(3 * time.Minute)
    	summaryProvider.result = summaryStatsMaker("1500Mi", podStats)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    }
    func testServerGracefulClose(t *testing.T, mode testMode) {
    	runTimeSensitiveTest(t, []time.Duration{
    		1 * time.Millisecond,
    		5 * time.Millisecond,
    		10 * time.Millisecond,
    		50 * time.Millisecond,
    		100 * time.Millisecond,
    		500 * time.Millisecond,
    		time.Second,
    		5 * time.Second,
    	}, func(t *testing.T, timeout time.Duration) error {
    		SetRSTAvoidanceDelay(t, timeout)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    		MinAge:             time.Duration(0),
    		MaxPerPodContainer: 1,
    		MaxContainers:      -1,
    	}
    	containerGC, err := kubecontainer.NewContainerGC(fakeRuntime, containerGCPolicy, kubelet.sourcesReady)
    	assert.NoError(t, err)
    	kubelet.containerGC = containerGC
    
    	fakeClock := testingclock.NewFakeClock(time.Now())
    	kubelet.backOff = flowcontrol.NewBackOff(time.Second, time.Minute)
    	kubelet.backOff.Clock = fakeClock
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    		{"an hour ago", translateTimestampSince(metav1.Time{Time: time.Now().Add(-6e12)}), "100m"},
    		{"2 days ago", translateTimestampSince(metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -2)}), "2d"},
    		{"months ago", translateTimestampSince(metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -90)}), "90d"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. pkg/scheduler/schedule_one_test.go

    			currentPodConditions: []v1.PodCondition{
    				{
    					Type:               "currentType",
    					Status:             "currentStatus",
    					LastProbeTime:      metav1.NewTime(time.Date(2020, 5, 13, 0, 0, 0, 0, time.UTC)),
    					LastTransitionTime: metav1.NewTime(time.Date(2020, 5, 12, 0, 0, 0, 0, time.UTC)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    	return updatedPod
    }
    
    // LatestLoopEntryTime returns the last time in the sync loop monitor.
    func (kl *Kubelet) LatestLoopEntryTime() time.Time {
    	val := kl.syncLoopMonitor.Load()
    	if val == nil {
    		return time.Time{}
    	}
    	return val.(time.Time)
    }
    
    // updateRuntimeUp calls the container runtime status callback, initializing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    }
    func testIssue3595(t *testing.T, mode testMode) {
    	runTimeSensitiveTest(t, []time.Duration{
    		1 * time.Millisecond,
    		5 * time.Millisecond,
    		10 * time.Millisecond,
    		50 * time.Millisecond,
    		100 * time.Millisecond,
    		500 * time.Millisecond,
    		time.Second,
    		5 * time.Second,
    	}, func(t *testing.T, timeout time.Duration) error {
    		SetRSTAvoidanceDelay(t, timeout)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		newDefaultQueueSort(),
    		WithPodInitialBackoffDuration(2*time.Second),
    		WithPodMaxBackoffDuration(20*time.Second),
    	)
    
    	if q.podInitialBackoffDuration != 2*time.Second {
    		t.Errorf("Unexpected pod backoff initial duration. Expected: %v, got: %v", 2*time.Second, q.podInitialBackoffDuration)
    	}
    
    	if q.podMaxBackoffDuration != 20*time.Second {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. src/crypto/x509/x509_test.go

    				RevokedCertificates: []pkix.RevokedCertificate{
    					{
    						SerialNumber:   big.NewInt(2),
    						RevocationTime: time.Time{}.Add(time.Hour),
    					},
    				},
    				Number:     big.NewInt(5),
    				ThisUpdate: time.Time{}.Add(time.Hour * 24),
    				NextUpdate: time.Time{}.Add(time.Hour * 48),
    			},
    			expectedError: "x509: requested SignatureAlgorithm does not match private key type",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  10. src/database/sql/sql_test.go

    			10 * time.Millisecond,
    			// Add second offset because otherwise connections are expired via max lifetime in Close.
    			100 * time.Nanosecond,
    		},
    		{
    			time.Hour,
    			0,
    			time.Second,
    			0,
    			0,
    			10 * time.Millisecond,
    			0},
    	}
    	baseTime := time.Unix(0, 0)
    	defer func() {
    		nowFunc = time.Now
    	}()
    	for _, item := range list {
    		nowFunc = func() time.Time {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top