Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,371 for EQUAL (0.04 sec)

  1. pkg/proxy/apis/config/validation/validation_test.go

    				field.Invalid(newPath.Child("KubeIPVSConfiguration.TCPFinTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0"),
    				field.Invalid(newPath.Child("KubeIPVSConfiguration.UDPTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0")},
    		},
    	} {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. src/math/big/alias_test.go

    		// Check that receiver and arguments were unchanged and move on.
    		return equal(x, x1) && equal(y, y1) && equal(v, v1)
    	} else if out != v {
    		return false
    	}
    
    	// Test aliasing the first argument and the receiver.
    	v1.Set(x)
    	if out := f(v1, v1, y); out != v1 || !equal(v1, v) {
    		t.Logf("f(v, x, y) != f(x, x, y)")
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. pkg/kubelet/images/image_manager_test.go

    		fakeRuntime.AssertCalls(c.expected[0].calls)
    		assert.Equal(t, c.expected[0].err, err, "tick=%d", 0)
    		assert.Equal(t, c.expected[0].shouldRecordStartedPullingTime, fakePodPullingTimeRecorder.startedPullingRecorded)
    		assert.Equal(t, c.expected[0].shouldRecordFinishedPullingTime, fakePodPullingTimeRecorder.finishedPullingRecorded)
    
    		images, _ := fakeRuntime.ListImages(ctx)
    		assert.Equal(t, 1, len(images), "ListImages() count")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/go/types/typeterm_test.go

    	} {
    		args := split(test, 3)
    		x := testTerm(args[0])
    		y := testTerm(args[1])
    		want := args[2] == "T"
    		if got := x.equal(y); got != want {
    			t.Errorf("%v.equal(%v) = %v; want %v", x, y, got, want)
    		}
    		// equal is symmetric
    		x, y = y, x
    		if got := x.equal(y); got != want {
    			t.Errorf("%v.equal(%v) = %v; want %v", x, y, got, want)
    		}
    	}
    }
    
    func TestTermUnion(t *testing.T) {
    	for _, test := range []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/crypto/internal/hpke/hpke_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    				t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap)
    			}
    			expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"])
    			if !bytes.Equal(context.sharedSecret, expectedSharedSecret) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

        def "passes with equal values"() {
            when:
            ToolingApiModelChecker.checkModel(
                dummyModel("someValue"),
                dummyModel("some" + "Value"),
                [
                    { it.value }
                ]
            )
    
            then:
            noExceptionThrown()
        }
    
        def "passes with equal values from different model implementations"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. pkg/kube/kclient/client_test.go

    	tester.Create(obj1)
    	// Client is cached, so its only eventually consistent
    	tracker.WaitOrdered("add/1")
    	assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1)
    	assert.Equal(t, tester.List("", klabels.Everything()), []*appsv1.Deployment{obj1})
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), []*appsv1.Deployment{obj1})
    
    	// Update object, should see the update...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection_test.go

    	SimpleServices := SimpleServiceCollection(services)
    	SimpleEndpoints := SimpleEndpointsCollection(SimplePods, SimpleServices)
    	assert.Equal(t, SimpleEndpoints.Synced().WaitUntilSynced(stop), true)
    	// Assert Equal -- not EventuallyEqual -- to ensure our WaitForCacheSync is proper
    	assert.Equal(t, fetcherSorted(SimpleEndpoints)(), []SimpleEndpoint{{"pod", "svc", "namespace", "1.2.3.4"}})
    }
    
    func TestCollectionMerged(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_linux_test.go

    				assert.IsType(t, &podContainerManagerImpl{}, pcm)
    				got := pcm.(*podContainerManagerImpl)
    				assert.Equal(t, c.cm.subsystems, got.subsystems)
    				assert.Equal(t, c.cm.cgroupManager, got.cgroupManager)
    				assert.Equal(t, c.cm.PodPidsLimit, got.podPidsLimit)
    				assert.Equal(t, c.cm.EnforceCPULimits, got.enforceCPULimits)
    				assert.Equal(t, uint64(c.cm.CPUCFSQuotaPeriod/time.Microsecond), got.cpuCFSQuotaPeriod)
    
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pkg/revisions/tag_watcher_test.go

    	track.WaitOrdered("revision")
    	assert.Equal(t, tw.GetMyTags(), sets.New("revision"))
    
    	whs.Create(makeTag("revision", "tag-foo"))
    	track.WaitOrdered("revision,tag-foo")
    	assert.Equal(t, tw.GetMyTags(), sets.New("revision", "tag-foo"))
    
    	whs.Create(makeTag("revision", "tag-bar"))
    	track.WaitOrdered("revision,tag-bar,tag-foo")
    	assert.Equal(t, tw.GetMyTags(), sets.New("revision", "tag-foo", "tag-bar"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top