Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,843 for lake (0.04 sec)

  1. pkg/proxy/conntrack/cleanup_test.go

    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			fake := NewFake()
    			CleanStaleEntries(fake, svcPortMap, tc.serviceUpdates, tc.endpointsUpdates)
    			if !fake.ClearedIPs.Equal(tc.result.ClearedIPs) {
    				t.Errorf("Expected ClearedIPs=%v, got %v", tc.result.ClearedIPs, fake.ClearedIPs)
    			}
    			if !fake.ClearedPorts.Equal(tc.result.ClearedPorts) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    	server := &fakeServer{}
    	server.Start(fakeCtx)
    
    	server.On("DelPodFromMesh",
    		fakeCtx,
    		pod,
    	).Return(errors.New("fake error"))
    
    	fakeClientSet := fake.NewSimpleClientset()
    	m := meshDataplane{
    		kubeClient: fakeClientSet,
    		netServer:  server,
    	}
    
    	// pod is not in fake client, so if this will try to remove annotation, it will fail.
    	err := m.DelPodFromMesh(fakeCtx, pod)
    	assert.Error(t, err)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy

        }
    
        def 'fake call with #deprecationTracePropertyName=true logs full stack trace.'() {
            given:
            System.setProperty(deprecationTracePropertyName, 'true')
            useStackTrace(fakeStackTrace)
    
            when:
            handler.featureUsed(new DeprecatedFeatureUsage(deprecatedFeatureUsage('fake')))
            def events = outputEventListener.events
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/volume_manager_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: testHostname},
    		Status: v1.NodeStatus{
    			VolumesAttached: []v1.AttachedVolume{
    				{
    					Name:       "fake/fake-device",
    					DevicePath: "fake/path",
    				},
    			}},
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "abc",
    			Namespace: "nsA",
    			UID:       "1234",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testing/openapi.go

    	openapi "k8s.io/kube-openapi/pkg/util/proto"
    )
    
    // Fake opens and returns a openapi swagger from a file Path. It will
    // parse only once and then return the same copy everytime.
    type Fake struct {
    	Path string
    
    	once     sync.Once
    	document *openapi_v2.Document
    	err      error
    }
    
    // OpenAPISchema returns the openapi document and a potential error.
    func (f *Fake) OpenAPISchema() (*openapi_v2.Document, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/metrics/metrics_test.go

    	}
    
    	fakePluginCount := dswCount["fake-plugin"]
    	if fakePluginCount != 1 {
    		t.Errorf("getVolumeCount failed. Expected <1> fake-plugin volume in DesiredStateOfWorld, got <%d>",
    			fakePluginCount)
    	}
    
    	aswCount, ok := count["actual_state_of_world"]
    	if !ok {
    		t.Errorf("getVolumeCount failed. Expected <actual_state_of_world>, got nothing")
    	}
    
    	fakePluginCount = aswCount["fake-plugin"]
    	if fakePluginCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. pkg/controller/deployment/rolling_test.go

    		if !test.scaleExpected {
    			if scaled || len(fake.Actions()) > 0 {
    				t.Errorf("unexpected scaling: %v", fake.Actions())
    			}
    			continue
    		}
    		if test.scaleExpected && !scaled {
    			t.Errorf("expected scaling to occur")
    			continue
    		}
    		if len(fake.Actions()) != 1 {
    			t.Errorf("expected 1 action during scale, got: %v", fake.Actions())
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	corev1listers "k8s.io/client-go/listers/core/v1"
    	clienttesting "k8s.io/client-go/testing"
    	"k8s.io/client-go/tools/cache"
    	"k8s.io/kubernetes/pkg/controller"
    )
    
    func TestConfigMapCreation(t *testing.T) {
    	ns := metav1.NamespaceDefault
    	fakeRootCA := []byte("fake-root-ca")
    
    	caConfigMap := defaultCrtConfigMapPtr(fakeRootCA)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. pkg/scheduler/eventhandlers_test.go

    				return st.MakeNode().Name("fake-node").Label("hostname", "fake-node").Capacity(cpu8).Obj()
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Name("p").HostPort(80).Obj(),
    			},
    			pods: []*v1.Pod{
    				st.MakePod().Name("p1").Req(cpu4).NodeAffinityNotIn("hostname", []string{"fake-node"}).Obj(),
    				st.MakePod().Name("p2").Req(cpu16).NodeAffinityIn("hostname", []string{"fake-node"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.s

    	// of the R_[0-4] and R5_[1-4] coefficient registers.
    	//
    	// We want lane 0 to be multiplied by r² so that can be kept the
    	// same. We want lane 1 to be multiplied by r so we need to move
    	// the saved r value into the 32-bit odd index in lane 1 by
    	// rotating the 64-bit lane by 32.
    	VGBM   $0x00ff, T_0         // [0, 0xffffffffffffffff] - mask lane 1 only
    	VERIMG $32, R_0, T_0, R_0   // [_,  r²₂₆[0], _,  r₂₆[0]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top