Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 221 for expectGet (0.15 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    }
    
    func checkReasons(t *testing.T, actual, expected ConflictReasons) {
    	equal := len(actual) == len(expected)
    	sort.Sort(actual)
    	sort.Sort(expected)
    	if equal {
    		for i, reason := range actual {
    			if reason != expected[i] {
    				equal = false
    				break
    			}
    		}
    	}
    	if !equal {
    		t.Errorf("expected failure reasons %s, got %s", reasonNames(expected), reasonNames(actual))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    	expected := new(Int)
    	expected.SetString(exp, 0)
    
    	out := f(new(Int), x, y)
    	if out.Cmp(expected) != 0 {
    		t.Errorf("%s: got %s want %s", msg, out, expected)
    	}
    }
    
    func testBitFunSelf(t *testing.T, msg string, f bitFun, x, y *Int, exp string) {
    	self := new(Int)
    	self.Set(x)
    	expected := new(Int)
    	expected.SetString(exp, 0)
    
    	self = f(self, self, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    			},
    		},
    	}
    
    	entRes.Timestamp = time.Time{}
    	if !reflect.DeepEqual(expected, entRes) {
    		c.Fatalf("policy entities mismatch: expected: %v, got: %v", expected, entRes)
    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

                consumerProjectPath == expected.consumerProjectPath
                componentId == expected.componentId
                sourceAttributes == expected.sourceAttributes
                targetAttributes == expected.targetAttributes
                capabilities == expected.capabilities
                artifactName == expected.artifactName
                dependenciesConfigurationIdentity == expected.dependenciesConfigurationIdentity
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  5. pkg/volume/testing/testing.go

    		actualCallCount := attacher.GetAttachCallCount()
    		if actualCallCount >= expectedAttachCallCount {
    			return nil
    		}
    	}
    
    	return fmt.Errorf(
    		"No attachers have expected AttachCallCount. Expected: <%v>.",
    		expectedAttachCallCount)
    }
    
    // VerifyZeroAttachCalls ensures that all of the Attachers for this plugin have
    // a zero AttachCallCount. Otherwise it returns an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    			gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs)
    			if !gotMeta.Equals(testCase.expectedMeta) {
    				t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta)
    			}
    			if dangling != testCase.expectedDangling {
    				t.Errorf("Expected dangling %t, got %t", testCase.expectedDangling, dangling)
    			}
    		})
    	}
    }
    
    // Tests both object and bucket healing.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/validation/validation_test.go

    		if len(errs) == 0 {
    			t.Errorf("expected failure for %q", errorMsg)
    		} else if !strings.Contains(errs[0].Error(), errorMsg) {
    			t.Errorf("unexpected error: %q, expected: %q", errs[0], errorMsg)
    		}
    
    		if errs := ValidateHorizontalPodAutoscalerUpdate(&zeroCase, &zeroCase); len(errs) != 0 {
    			t.Errorf("expected success: %v", errs)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  8. pkg/controller/cronjob/cronjob_controllerv2_test.go

    				}
    			}
    			if len(jc.Jobs) != expectedCreates {
    				t.Errorf("%s: expected %d job started, actually %v", name, expectedCreates, len(jc.Jobs))
    			}
    			for i := range jc.Jobs {
    				job := &jc.Jobs[i]
    				controllerRef := metav1.GetControllerOf(job)
    				if controllerRef == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	if volumeExists {
    		t.Fatalf(
    			"VolumeExists(%q) failed. Expected: <false> Actual: <%v>",
    			expectedVolumeName,
    			volumeExists)
    	}
    
    	if podExistsInVolume := dswp.desiredStateOfWorld.PodExistsInVolume(
    		podName, expectedVolumeName, "" /* SELinuxContext */); podExistsInVolume {
    		t.Fatalf(
    			"DSW PodExistsInVolume returned incorrect value. Expected: <false> Actual: <%v>",
    			podExistsInVolume)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	if len(st.str) < 1 {
    		st.fail("expected name")
    	}
    
    	var module AST
    	switch st.str[0] {
    	case 'N':
    		return st.nestedName()
    	case 'Z':
    		return st.localName()
    	case 'U':
    		a, isCast := st.unqualifiedName(nil)
    		if isCast {
    			st.setTemplate(a, nil)
    		}
    		return a, false
    	case 'S':
    		if len(st.str) < 2 {
    			st.advance(1)
    			st.fail("expected substitution index")
    		}
    		var a AST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top