Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Goexit (0.14 sec)

  1. pkg/controller/job/job_controller_test.go

    						Message: "Container x for pod default/mypod-0 failed with exit code 3 matching FailJob rule at index 0",
    					},
    					{
    						Type:    batch.JobFailed,
    						Status:  v1.ConditionTrue,
    						Reason:  batch.JobReasonPodFailurePolicy,
    						Message: "Container x for pod default/mypod-0 failed with exit code 3 matching FailJob rule at index 0",
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    	//
    	// Note that there is a race between Kubelet seeing the pod and kubelet seeing the service.
    	// To avoid this users can: (1) wait between starting a service and starting; or (2) detect
    	// missing service env var and exit and be restarted; or (3) use DNS instead of env vars
    	// and keep trying to resolve the DNS name of the service (recommended).
    	serviceEnv, err := kl.getServiceEnvVarMap(pod.Namespace, *pod.Spec.EnableServiceLinks)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		}
    		ln, err := net.Listen("tcp", "localhost:"+port)
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err.Error())
    			os.Exit(1)
    		}
    		fmt.Println(ln.Addr().String())
    		HandleFunc("/", func(w ResponseWriter, r *Request) {
    			r.ParseForm()
    			if r.Form.Get("stop") != "" {
    				os.Exit(0)
    			}
    			w.Header().Set("Content-Type", "text/html; charset=utf-8")
    			w.Write(data)
    		})
    		var srv Server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        int64_t max_iterations) {
      bool any_failure = false;
      bool any_nonconvergence = false;
      // If shape propagation fails for one function, return failure, but do not
      // early exit and attempt to propagate shapes for all provided functions to
      // have a best-effort propagation.
      for (func::FuncOp func : functions) {
        DCOMMENT("Propating shape to " << func.getName());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    					{name: "pod1", updateType: kubetypes.SyncPodKill, runningPod: expectedRunningPod},
    					// because this is a runtime pod, we don't have enough info to invoke syncTerminatedPod and so
    					// we exit after the retry succeeds
    				}; !reflect.DeepEqual(expected, actual) {
    					t.Fatalf("unexpected pod sync records: %s", cmp.Diff(expected, actual, cmp.AllowUnexported(syncPodRecord{})))
    				}
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		}
    	}
    
    	ctx, cancel := context.WithCancel(testContext)
    
    	lock := sync.Mutex{}
    	called := false
    
    	// We rely on the fact that there is exactly one worker, so it should exit after
    	// getting context canceled error on the first Delete call to etcd.
    	// With multiple workers, each of them would be calling Delete once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    				}},
    				"failed": {Terminated: &v1.ContainerStateTerminated{
    					ExitCode:    1,
    					ContainerID: emptyContainerID,
    				}},
    			},
    			// If the init container is terminated with exit code 0, it won't be restarted even when the
    			// restart policy is RestartAlways.
    			expectedInitState: map[string]v1.ContainerState{
    				"succeed": {Terminated: &v1.ContainerStateTerminated{
    					ExitCode:    0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    					}
    				}
    			}
    			s.RUnlock()
    
    			resyncTimer.Reset(resyncTimeInterval)
    		case <-ctx.Done():
    			// server could be restarting - need
    			// to exit immediately
    			return
    		}
    	}
    }
    
    const (
    	resyncWorkerCnt        = 10 // limit of number of bucket resyncs is progress at any given time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/exec.go

    	// dependency order traversal.
    	all := actionList(root)
    	for i, a := range all {
    		a.priority = i
    	}
    
    	// Write action graph, without timing information, in case we fail and exit early.
    	writeActionGraph := func() {
    		if file := cfg.DebugActiongraph; file != "" {
    			if strings.HasSuffix(file, ".go") {
    				// Do not overwrite Go source code in:
    				//	go build -debug-actiongraph x.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  10. src/net/http/server.go

    // error returned from closing the [Server]'s underlying Listener(s).
    //
    // When Shutdown is called, [Serve], [ListenAndServe], and
    // [ListenAndServeTLS] immediately return [ErrServerClosed]. Make sure the
    // program doesn't exit and waits instead for Shutdown to return.
    //
    // Shutdown does not attempt to close nor wait for hijacked
    // connections such as WebSockets. The caller of Shutdown should
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top