Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for Expired (0.53 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy

        }
    
        def 'never expires missing module for dynamic versions'() {
            when:
            def moduleIdentifier = DefaultModuleIdentifier.newId('org', 'foo')
            def versions = emptySet()
    
            then:
            def expired = cachePolicy.versionListExpiry(moduleIdentifier, versions, Duration.ofMillis(WEEK))
            !expired.mustCheck
            expired.keepFor == Duration.ZERO
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataSupplierRuleExecutorTest.groovy

        }
    
        // Tests --refresh-dependencies behavior
        @Unroll("Cache expiry check expired=#expired, refresh = #mustRefresh - #scenario - #ruleClass.simpleName")
        def "expires entry when cache policy tells us to"() {
            def id = DefaultModuleVersionIdentifier.newId('org', 'foo', '1.0')
            def inputsSnapshot = new StringValueSnapshot("1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    // to the `queue`. The Controller has workers who consume `queue`, check whether
    // the Job TTL has expired or not; if the Job TTL hasn't expired, it will add the
    // Job to the queue after the TTL is expected to expire; if the TTL has expired, the
    // worker will send requests to the API server to delete the Jobs accordingly.
    // This is implemented outside of Job controller for separation of concerns, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/net/net_fake.go

    	}
    
    	var (
    		incoming []*netFD
    		ok       bool
    	)
    	expired := ffd.readDeadline.Load().expired
    	select {
    	case <-expired:
    		return nil, os.ErrDeadlineExceeded
    	case incoming, ok = <-ffd.incoming:
    		if !ok {
    			return nil, ErrClosed
    		}
    		select {
    		case <-expired:
    			ffd.incoming <- incoming
    			return nil, os.ErrDeadlineExceeded
    		default:
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. tests/integration/security/jwt_test.go

    					},
    				},
    				{
    					name: "expired-token-noauthz",
    					customizeCall: func(_ framework.TestContext, _ echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/expired-token-noauthz"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenExpired).Build()
    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "expired-token-cors-preflight-request-allowed",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutorTest.groovy

            def cachedResult = Mock(ModuleComponentResolveMetadata)
            Multimap<String, ImplicitInputRecord<?, ?>> implicits = HashMultimap.create()
            def record = Mock(ImplicitInputRecord)
            if (expired) {
                implicits.put('SomeService', record)
            }
            def cachedEntry = new CrossBuildCachingRuleExecutor.CachedEntry<ComponentMetadata>(0, implicits, cachedResult)
            def ruleServices = [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            Closure<Void> cleanup
    
            URI getUri() {
                repository.uri
            }
        }
    
        def "does not invalidate configuration cache entry when dynamic version information has not expired"() {
            given:
            RepoFixture defaultRepo = new RepoFixture(remoteRepo)
            List<RepoFixture> repos = scenario == DynamicVersionScenario.SINGLE_REPO
                ? [defaultRepo]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top