Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 406 for fakePC (0.73 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	}
    	sendAck(ztunClient)
    
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func podAndNetns() (*v1.Pod, *fakeNs) {
    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/tcp.status.yaml.golden

      listeners:
      - attachedRoutes: 1
        conditions:
        - lastTransitionTime: fake
          message: No errors found
          reason: Accepted
          status: "True"
          type: Accepted
        - lastTransitionTime: fake
          message: No errors found
          reason: NoConflicts
          status: "False"
          type: Conflicted
        - lastTransitionTime: fake
          message: No errors found
          reason: Programmed
          status: "True"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/grpc.status.yaml.golden

      listeners:
      - attachedRoutes: 1
        conditions:
        - lastTransitionTime: fake
          message: No errors found
          reason: Accepted
          status: "True"
          type: Accepted
        - lastTransitionTime: fake
          message: No errors found
          reason: NoConflicts
          status: "False"
          type: Conflicted
        - lastTransitionTime: fake
          message: No errors found
          reason: Programmed
          status: "True"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_client_test.go

    			return fake.NewNodeClientWithVolumeStats(volumeStatsCapable)
    		})
    }
    
    func TestClientNodeSupportsVolumeMountGroup(t *testing.T) {
    	testClientNodeSupportsCapabilities(t,
    		func(client *csiDriverClient) (bool, error) {
    			return client.NodeSupportsVolumeMountGroup(context.Background())
    		},
    		func(volumeMountGroupCapable bool) *fake.NodeClient {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    			expectedHint: framework.QueueSkip,
    		},
    		{
    			name: "add pod's label that matches topologySpreadConstraints selector",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			oldPod:       st.MakePod().Node("fake-node").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. 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)
  7. security/pkg/server/ca/fuzz_test.go

    	caerror "istio.io/istio/security/pkg/pki/error"
    )
    
    func FuzzCreateCertificate(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		csr := fuzz.Struct[pb.IstioCertificateRequest](fg)
    		ca := fuzz.Struct[mockca.FakeCA](fg)
    		ca.SignErr = caerror.NewError(caerror.CSRError, fmt.Errorf("cannot sign"))
    		server := &Server{
    			ca:             &ca,
    			Authenticators: []security.Authenticator{&mockAuthenticator{}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:54 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    # this test, we instead simulate it by injecting a fake "clang"
    # binary that runs the real one as a subprocess.
    
    [!cgo] skip
    [short] skip 'builds and links a fake clang binary'
    [!cc:clang] skip 'test is specific to clang version parsing'
    
    # Save the location of the real clang command for our fake one to use.
    go run ./which clang
    cp stdout $WORK/.realclang
    
    # Build a fake clang and ensure that it is the one in $PATH.
    mkdir $WORK/bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top