Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for workerPaths (0.1 sec)

  1. pkg/kubelet/prober/prober_manager_test.go

    }
    
    const interval = 1 * time.Second
    
    // Wait for the given workers to exit & clean up.
    func waitForWorkerExit(t *testing.T, m *manager, workerPaths []probeKey) error {
    	for _, w := range workerPaths {
    		condition := func() (bool, error) {
    			_, exists := m.getWorker(w.podUID, w.containerName, w.probeType)
    			return !exists, nil
    		}
    		if exited, _ := condition(); exited {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    	"os"
    	"strings"
    )
    
    func main() {
    	coordPath, workerPath := os.Args[1], os.Args[2]
    
    	coordLog, err := os.Open(coordPath)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	defer coordLog.Close()
    	if err := checkCoordLog(coordLog); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    
    	workerLog, err := os.Open(workerPath)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top