Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for hasErrors (0.14 sec)

  1. pkg/controller/volume/expand/expand_controller_test.go

    		pvc                *v1.PersistentVolumeClaim
    		expansionCalled    bool
    		hasError           bool
    		expectedAnnotation map[string]string
    	}{
    		{
    			name:     "when pvc has no PV binding",
    			pvc:      getFakePersistentVolumeClaim("no-pv-pvc", "", "1Gi", "1Gi", ""),
    			pvcKey:   "default/no-pv-pvc",
    			hasError: true,
    		},
    		{
    			name:               "when pvc and pv has everything for in-tree plugin",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultResolvedConfiguration.java

            this.resolutionHost = resolutionHost;
            this.visitedArtifacts = visitedArtifacts;
            this.configuration = configuration;
        }
    
        @Override
        public boolean hasError() {
            return graphResults.hasAnyFailure();
        }
    
        @Override
        public void rethrowFailure() throws ResolveException {
            if (!graphResults.hasAnyFailure()) {
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tests/integration/pilot/analysis/analysis_test.go

    	c := t.Clusters().Default()
    
    	x, err := c.Istio().NetworkingV1alpha3().VirtualServices(ns.Name()).Get(context.TODO(), "reviews", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("unexpected test failure: can't get virtualservice: %v", err)
    	}
    
    	status := &x.Status
    
    	if hasError {
    		if len(status.ValidationMessages) < 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolvedConfiguration.java

     * to both the artifacts and the meta-data of the result.
     */
    public interface ResolvedConfiguration {
        /**
         * Returns whether all dependencies were successfully retrieved or not.
         */
        boolean hasError();
    
        /**
         * Provides configuration that does not fail eagerly when some dependencies are not resolved.
         */
        LenientConfiguration getLenientConfiguration();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. pkg/kubelet/lifecycle/handlers_test.go

    			container.Lifecycle.PostStart.HTTPGet.Port = tt.Port
    			pod.Spec.Containers = []v1.Container{container}
    			_, err := handlerRunner.Run(ctx, containerID, &pod, &container, container.Lifecycle.PostStart)
    
    			if hasError := (err != nil); hasError != tt.ExpectError {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if fakeHTTPDoer.url != tt.Expected {
    				t.Errorf("unexpected url: %s", fakeHTTPDoer.url)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                }
    
                task validate {
                    doLast {
                        def compileClasspath = configurations.compileClasspath.resolvedConfiguration
                        assert compileClasspath.hasError()
                        println "evaluating:"
                        compileClasspath.${expression}
                    }
                }
            """
    
            m1.allowAll()
            m2.allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/helpers_test.go

    		}
    	}
    }
    
    func TestParsePercentage(t *testing.T) {
    	testCases := map[string]struct {
    		hasError bool
    		value    float32
    	}{
    		"blah": {
    			hasError: true,
    		},
    		"25.5%": {
    			value: 0.255,
    		},
    		"foo%": {
    			hasError: true,
    		},
    		"12%345": {
    			hasError: true,
    		},
    	}
    	for input, expected := range testCases {
    		value, err := parsePercentage(input)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    	}
    
    	var graphRoots []module.Version
    	if inWorkspaceMode() {
    		graphRoots = roots
    	} else {
    		graphRoots = MainModules.Versions()
    	}
    	var (
    		mu       sync.Mutex // guards mg.g and hasError during loading
    		hasError bool
    		mg       = &ModuleGraph{
    			g: mvs.NewGraph(cmpVersion, graphRoots),
    		}
    	)
    
    	if pruning != workspace {
    		if inWorkspaceMode() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            }
    
            def legacyResults = DefaultResolverResults.DefaultLegacyResolverResults.graphResolved(
                depSpec -> selectedArtifacts(failure),
                Mock(ResolvedConfiguration) {
                    hasError() >> true
                }
            )
    
            DefaultResolverResults.graphResolved(visitedGraphResults, visitedArtifactSet, legacyResults)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top