Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,399 for reasons (0.29 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    				}
    				t.Logf("expecting the following differences from the example encoding on re-encode:\n%s", diff)
    				t.Logf("reasons for encoding differences:")
    				for _, reason := range tc.reasons {
    					t.Logf("- %s", reason)
    				}
    
    			}
    
    			if diff := cmp.Diff(expected, actual); diff != "" {
    				t.Errorf("re-encoded object differs from expected:\n%s", diff)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            NodeBuilder maybeByReason(String reason) {
                ignoreReasons.add(reason)
                this
            }
    
            NodeBuilder byConstraint(String reason = null) {
                if (reason == null) {
                    reasons << ComponentSelectionCause.CONSTRAINT.defaultReason
                } else {
                    reasons << "${ComponentSelectionCause.CONSTRAINT.defaultReason}: $reason".toString()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipUpToDateStep.java

        }
    
        private UpToDateResult executeBecause(UnitOfWork work, ImmutableList<String> reasons, C context) {
            logExecutionReasons(reasons, work);
            AfterExecutionResult result = delegate.execute(work, context);
            return new UpToDateResult(result, reasons);
        }
    
        private static void logExecutionReasons(List<String> reasons, UnitOfWork work) {
            if (LOGGER.isInfoEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DocumentResolution.kt

                ) : SuccessfulElementResolution
            }
    
            data class ElementNotResolved(override val reasons: List<ElementNotResolvedReason>) : ElementResolution, UnsuccessfulResolution
        }
    
        data object ErrorResolution : DocumentNodeResolution, UnsuccessfulResolution {
            override val reasons: Iterable<ResolutionFailureReason>
                get() = listOf(IsError)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy

        def "reports no execution reasons for skipped tasks"() {
            given:
            buildFile << """
                task disabledTask {
                    enabled = false
                }
            """
    
            when:
            runBuild('disabledTask')
    
            then:
            taskSkippedResult(':disabledTask')
        }
    
        def "reports execution reason for executed task without declared outputs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	return res
    }
    
    // reasonNames pretty-prints a list of reasons with variable names in
    // case of a test failure because that is easier to read than the full
    // strings.
    func reasonNames(reasons ConflictReasons) string {
    	var varNames []string
    	for _, reason := range reasons {
    		switch reason {
    		case ErrReasonBindConflict:
    			varNames = append(varNames, "ErrReasonBindConflict")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

            List<String> reasons = new ArrayList<>();
    
            GarbageCollectionStats heapStats = stats.getHeapStats();
            if (heapStats.isValid() && heapStats.getEventCount() >= 5
                && strategy.isAboveHeapUsageThreshold(heapStats.getUsedPercent())
            ) {
                if (strategy.isAboveGcThrashingThreshold(heapStats.getGcRate())) {
                    reasons.add("since the JVM garbage collector is thrashing");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/predicate_test.go

    		},
    	}
    	for _, test := range resourceTests {
    		t.Run(test.name, func(t *testing.T) {
    			test.nodeInfo.SetNode(test.node)
    			reasons := generalFilter(test.pod, test.nodeInfo)
    			if diff := cmp.Diff(test.reasons, reasons); diff != "" {
    				t.Errorf("unexpected failure reasons (-want, +got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestRejectPodAdmissionBasedOnOSSelector(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

            def reasons = []
            invalidationDetails.changedFiles.each { file ->
                reasons.add("file '${file.replace('/', File.separator)}'")
            }
            if (invalidationDetails.changedGradleProperty) {
                reasons.add("the set of Gradle properties")
            }
            if (invalidationDetails.changedSystemProperty != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                module('org.test', 'a', '1.0')
                    .dependsOn(leaf, reason: 'first reason')
                    .withModuleMetadata()
                    .publish()
                module('org.test', 'b', '1.0')
                    .dependsOn('org.test', 'c', '1.0').publish()
                module('org.test', 'c')
                    .dependsOn(leaf, reason: 'transitive reason')
                    .withModuleMetadata()
                    .publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top