- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Sleep (0.21 sec)
-
cni/pkg/nodeagent/informers_test.go
if err != nil { t.Fatal(err) } if p.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled { return } time.Sleep(1 * time.Second) } t.Fatal("Pod not annotated") } func assertPodNotAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) { for i := 0; i < 5; i++ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
// sure the netns is closed eventually. func assertNSClosed(t *testing.T, closed *atomic.Bool) { for i := 0; i < 5; i++ { if closed.Load() { return } time.Sleep(1 * time.Second) } t.Fatal("NS not closed")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
revision: "canary", }, { // case 7: supplying type that doesn't select pods should fail args: strings.Split("serviceaccount/sleep", " "), wantException: true, }, } multixds.GetXdsResponse = func(_ *discovery.DiscoveryRequest, _ string, _ string, _ clioptions.CentralControlPlaneOptions, _ []grpc.DialOption,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
wantException: true, }, { // supplying type that doesn't select pods should fail args: strings.Split("listeners serviceaccount/sleep", " "), expectedString: `"serviceaccount/sleep" does not refer to a pod`, wantException: true, }, { // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
if err != nil { return err } log.Warnf("got an event for pod %s in namespace %s not found in current pod cache, retry %d of %d", addCmd.PodName, addCmd.PodNamespace, retries, maxStaleRetries) time.Sleep(time.Duration(msInterval) * time.Millisecond) } if ambientPod == nil { return fmt.Errorf("got event for pod %s in namespace %s but could not find in pod cache after retries", addCmd.PodName, addCmd.PodNamespace) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
pi, k8sErr = getK8sPodInfo(kClient, podName, podNamespace) if k8sErr == nil { break } log.Debugf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr) time.Sleep(podRetrievalInterval) } if k8sErr != nil { log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr) return k8sErr }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0)