Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for hasErrors (0.11 sec)

  1. pkg/controller/nodeipam/ipam/sync/sync_test.go

    			t.Errorf("%v, %v; fake.events = %#v, want %#v", tc.desc, tc.mode, tc.fake.events, tc.events)
    		}
    
    		var hasError bool
    		for _, r := range tc.fake.results {
    			hasError = hasError || (r != nil)
    		}
    		if hasError != tc.wantError {
    			t.Errorf("%v, %v; hasError = %t, errors = %v, want %t",
    				tc.desc, tc.mode, hasError, tc.fake.events, tc.wantError)
    		}
    	}
    }
    
    func TestNodeSyncResync(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

            this.took = took;
            if (errors != null && !errors.isEmpty()) {
                this.errors.addAll(errors);
            }
        }
    
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        public List<Throwable> getErrors() {
            return errors;
        }
    
        public long getTook() {
            return took;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolverSpec.groovy

            when:
            def results = dependencyResolver.resolveGraph(resolveContext)
    
            then:
            def resolvedConfig = results.legacyResults.resolvedConfiguration
            !resolvedConfig.hasError()
            resolvedConfig.rethrowFailure()
    
            resolvedConfig.getFiles(Specs.<Dependency> satisfyAll()).isEmpty()
            resolvedConfig.getFirstLevelModuleDependencies().isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. 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)
Back to top