Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for Expired (0.12 sec)

  1. src/crypto/x509/platform_test.go

    			},
    			time:        now.Add(time.Hour * 2),
    			expectedErr: "x509: certificate has expired or is not yet valid",
    		},
    		{
    			name: "expired (past)",
    			cert: &Certificate{
    				SerialNumber: big.NewInt(1),
    				DNSNames:     []string{"valid.testing.golang.invalid"},
    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. security/pkg/util/certutil_test.go

    			// The cert expires at 2017-08-24 19:00:40 +0000 UTC, so the grace period starts at 2017-08-24 07:00:40 +0000 UTC
    			// The wait time is the duration from fake now to the grace period start time, which is 10h39s (36039s).
    			cert:             testCert,
    			now:              time.Date(2017, time.August, 23, 21, 0, 0, 40, time.UTC),
    			expectedWaitTime: 36039,
    		},
    		"Cert expired": {
    			// Now = 2017-08-25 21:00:40 +0000 UTC.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. pkg/kubelet/token/token_manager.go

    		return ctr, nil
    	}
    
    	tr, err := m.getToken(name, namespace, tr)
    	if err != nil {
    		switch {
    		case !ok:
    			return nil, fmt.Errorf("failed to fetch token: %v", err)
    		case m.expired(ctr):
    			return nil, fmt.Errorf("token %s expired and refresh failed: %v", key, err)
    		default:
    			klog.ErrorS(err, "Couldn't update token", "cacheKey", key)
    			return ctr, nil
    		}
    	}
    
    	m.set(key, tr)
    	return tr, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy

            true
        )
        GarbageCollectionStats aboveMetaspaceThreshold = stats(
            strategy.getNonHeapUsageThreshold() + 1,
            1,
            true
        )
    
        def "daemon is not expired when memory stats are below threshold" () {
            given:
            def underTest = new HealthExpirationStrategy(
                health(belowThreshold, belowThreshold),
                strategy
            )
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	clock.Step(1 * time.Second)
    	ret = target.popExpiredWatchersThreadUnsafe()
    	if len(ret) != 1 || len(ret[0]) != 1 {
    		t.Fatalf("expected only one watcher to be expired")
    	}
    	if !target.addWatcherThreadUnsafe(ret[0][0]) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    
    	// after 29 seconds the watcher is still expired
    	clock.Step(29 * time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. src/runtime/netpoll_windows.go

    		default:
    			println("runtime: GetQueuedCompletionStatusEx returned net_op with invalid key=", e.key)
    			throw("runtime: netpoll failed")
    		}
    	}
    	return toRun, delta
    }
    
    // netpollQueueTimer queues a timer to wake up the poller after the given delay.
    // It returns true if the timer expired during this call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

                get() = "cached version information for $displayName has expired"
        }
    
        class ChangingModule(
            val displayName: String,
            expireAt: Long
        ) : ChangingDependencyResolutionValue(expireAt) {
            override val reason: String
                get() = "cached artifact information for $displayName has expired"
        }
    
        data class SystemPropertiesPrefixedBy(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/internal/poll/fd.go

    	if isFile {
    		return ErrFileClosing
    	}
    	return ErrNetClosing
    }
    
    // ErrDeadlineExceeded is returned for an expired deadline.
    // This is exported by the os package as os.ErrDeadlineExceeded.
    var ErrDeadlineExceeded error = &DeadlineExceededError{}
    
    // DeadlineExceededError is returned for an expired deadline.
    type DeadlineExceededError struct{}
    
    // Implement the net.Error interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. security/pkg/pki/util/keycertbundle_test.go

    		ttl  float64
    		time time.Time
    	}{
    		{
    			name: "ttl valid",
    			ttl:  30,
    			time: t0.Add(time.Second * 30),
    		},
    		{
    			name: "ttl almost expired",
    			ttl:  2,
    			time: t0.Add(time.Second * 58),
    		},
    		{
    			name: "ttl just expired",
    			ttl:  0,
    			time: t0.Add(time.Second * 60),
    		},
    		{
    			name: "ttl-invalid",
    			ttl:  -30,
    			time: t0.Add(time.Second * 90),
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. security/pkg/server/ca/authenticate/oidc_test.go

    	}
    	// Create an expired JWT token
    	expiredStr := strconv.FormatInt(time.Now().Add(-time.Hour).Unix(), 10)
    	expiredClaims := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "system:serviceaccount:bar:foo", "exp": ` + expiredStr + `}`
    	expiredToken, err := generateJWT(&key, []byte(expiredClaims))
    	if err != nil {
    		t.Fatalf("failed to generate an expired JWT: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top