Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 147 for exit_node (0.5 sec)

  1. pkg/kubelet/status/status_manager_test.go

    		{Name: "init-test-1"},
    		{Name: "init-test-2", State: v1.ContainerState{Terminated: &v1.ContainerStateTerminated{Reason: "InitTest", ExitCode: 0}}},
    		{Name: "init-test-3", State: v1.ContainerState{Terminated: &v1.ContainerStateTerminated{Reason: "InitTest", ExitCode: 3}}},
    		// TODO: If the last init container had failed, the pod would not have been
    		// able to start any containers. Maybe, we have to separate this test case
    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/os/exec/exec_windows_test.go

    	err := cmd.Run()
    	exitError, ok := err.(*exec.ExitError)
    	if !ok {
    		t.Fatalf("got error %v; want ExitError", err)
    	}
    	if exitError.ExitCode() != 88 {
    		t.Fatalf("got exit code %d; want 88", exitError.ExitCode())
    	}
    }
    
    // start a child process without the user code explicitly starting
    // with a copy of the parent's SYSTEMROOT.
    // (See issue 25210.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. tests/util/leak/check.go

    // If there are some tests that are leaky, you the Check method can be used on individual tests.
    func CheckMain(m TestingM) {
    	exitCode := m.Run()
    
    	if exitCode == 0 {
    		if err := check(nil); err != nil {
    			log.Errorf("fatal: %v", err)
    			exitCode = 1
    		}
    	}
    
    	os.Exit(exitCode)
    }
    
    // MustGarbageCollect asserts that an object was garbage collected by the end of the test.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

                "message": "messageValue"
              },
              "running": {
                "startedAt": "2001-01-01T01:01:01Z"
              },
              "terminated": {
                "exitCode": 1,
                "signal": 2,
                "reason": "reasonValue",
                "message": "messageValue",
                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  5. src/os/exec/exec_test.go

    		want = 1
    	}
    	got := cmd.ProcessState.ExitCode()
    	if want != got {
    		t.Errorf("ExitCode got %d, want %d", got, want)
    	}
    
    	cmd = helperCommand(t, "/no-exist-executable")
    	cmd.Run()
    	want = 2
    	if runtime.GOOS == "plan9" {
    		want = 1
    	}
    	got = cmd.ProcessState.ExitCode()
    	if want != got {
    		t.Errorf("ExitCode got %d, want %d", got, want)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. src/internal/fuzz/sys_posix.go

    // isInterruptError returns whether an error was returned by a process that
    // was terminated by an interrupt signal (SIGINT).
    func isInterruptError(err error) bool {
    	exitErr, ok := err.(*exec.ExitError)
    	if !ok || exitErr.ExitCode() >= 0 {
    		return false
    	}
    	status := exitErr.Sys().(syscall.WaitStatus)
    	return status.Signal() == syscall.SIGINT
    }
    
    // terminationSignal checks if err is an exec.ExitError with a signal status.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                exitCode = process(options);
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Crawler is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. pkg/proxy/node_test.go

    				} else if r != nil && !tt.expectPanic {
    					t.Errorf("The code did panic")
    				}
    			}()
    
    			n.OnNodeUpdate(oldNode, node)
    		})
    	}
    }
    
    func customExit(exitCode int) {
    	panic(strconv.Itoa(exitCode))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 10 16:50:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/os/exec_plan9.go

    }
    
    func (p *ProcessState) String() string {
    	if p == nil {
    		return "<nil>"
    	}
    	return "exit status: " + p.status.Msg
    }
    
    // ExitCode returns the exit code of the exited process, or -1
    // if the process hasn't exited or was terminated by a signal.
    func (p *ProcessState) ExitCode() int {
    	// return -1 if the process hasn't started.
    	if p == nil {
    		return -1
    	}
    	return p.status.ExitStatus()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    					Name:     "without-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 1,
    				},
    				{
    					Name:     "with-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 2,
    				},
    				{
    					Name:     "without-reason",
    					State:    kubecontainer.ContainerStateExited,
    					ExitCode: 3,
    				},
    				{
    					Name:     "with-reason",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top