Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 525 for lake (0.17 sec)

  1. pkg/kubelet/status/status_manager_test.go

    }
    
    func TestSyncPod(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    	syncer.kubeClient = fake.NewSimpleClientset(testPod)
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyActions(t, syncer, []core.Action{getAction(), patchAction()})
    }
    
    func TestSyncPodChecksMismatchedUID(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	pod := getTestPod()
    	pod.UID = "first"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  2. src/net/http/httptest/server.go

    func (s *Server) CloseClientConnections() {
    	s.mu.Lock()
    	nconn := len(s.conns)
    	ch := make(chan struct{}, nconn)
    	for c := range s.conns {
    		go s.closeConnChan(c, ch)
    	}
    	s.mu.Unlock()
    
    	// Wait for outstanding closes to finish.
    	//
    	// Out of paranoia for making a late change in Go 1.6, we
    	// bound how long this can wait, since golang.org/issue/14291
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtOriginalPsiProvider.kt

         * for [this]. Otherwise, returns `null`.
         */
        @KaAnalysisApiInternals
        public fun KtDeclaration.getOriginalDeclaration(): KtDeclaration? =
            withValidityAssertion { analysisSession.originalPsiProvider.getOriginalDeclaration(this) }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net_test.go

    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize_jax_random.mlir

    // CHECK:           return %[[VAL_2]] : tuple<tensor<3x4xf32>>
    // CHECK:         }
    func.func @tfl_wrapped_jax_random_normal(%arg0: tensor<2xui32>) -> tuple<tensor<3x4xf32>> {
      // This is a fake jax random normal body.
      %0 = stablehlo.constant dense<0.0> : tensor<12xf32>
      %1 = "stablehlo.reshape"(%0) : (tensor<12xf32>) -> tensor<3x4xf32>
      %2 = "stablehlo.tuple"(%1) : (tensor<3x4xf32>) -> tuple<tensor<3x4xf32>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			pod.Spec.ServiceAccountName = "testsan"
    			pod.Labels = c.podLabels
    			pod.Spec.NodeName = "fake"
    			// All should get this
    			c.expected[labelutil.LabelHostname] = "fake"
    
    			loc := pkgmodel.ConvertLocality(c.ctl.locality)
    			fc := kube.NewFakeClient(&v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "fake", Labels: map[string]string{
    					NodeRegionLabelGA:          loc.Region,
    					NodeZoneLabel:              loc.Zone,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. pkg/probe/exec/exec_test.go

    	for i, test := range tests {
    		featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ExecProbeTimeout, test.execProbeTimeout)
    		fake := FakeCmd{
    			out: []byte(test.output),
    			err: test.err,
    		}
    		status, output, err := prober.Probe(&fake)
    		if status != test.expectedStatus {
    			t.Errorf("[%d] expected %v, got %v", i, test.expectedStatus, status)
    		}
    		if err != nil && !test.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/kubelet/runonce_test.go

    		clock:            clock.RealClock{},
    		kubeClient:       &fake.Clientset{},
    		hostname:         testKubeletHostname,
    		nodeName:         testKubeletHostname,
    		runtimeState:     newRuntimeState(time.Second),
    		hostutil:         hostutil.NewFakeHostUtil(nil),
    	}
    	kb.containerManager = cm.NewStubContainerManager()
    
    	plug := &volumetest.FakeVolumePlugin{PluginName: "fake", Host: nil}
    	kb.volumePluginMgr, err =
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/common.go

    			return nil, errors.Wrap(err, "failed to get server version")
    		}
    
    		// Get the fake clientset
    		dryRunOpts := apiclient.GetDefaultDryRunClientOptions(dryRunGetter, os.Stdout)
    		// Print GET and LIST requests
    		dryRunOpts.PrintGETAndLIST = true
    		fakeclient := apiclient.NewDryRunClientWithOpts(dryRunOpts)
    		// As we know the return of Discovery() of the fake clientset is of type *fakediscovery.FakeDiscovery
    		// we can convert it to that struct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. security/pkg/k8s/chiron/utils_test.go

    			client := initFakeKubeClient(t, tc.certificateData)
    
    			// 4. Read the signed certificate
    			_, _, err := SignCSRK8s(client.Kube(), createFakeCsr(t), "fake-signer", []cert.KeyUsage{cert.UsageAny}, "fake.com",
    				tc.k8sCaCertFile, true, true, 1*time.Second)
    
    			if tc.expectFail {
    				if err == nil {
    					t.Fatalf("should have failed at updateMutatingWebhookConfig")
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top