Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,466 for JOIN (0.07 sec)

  1. tensorflow/cc/training/coordinator_test.cc

      counter.Wait();
      TF_EXPECT_OK(coord.RequestStop());
      EXPECT_EQ(coord.Join().code(), absl::StatusCode::kInvalidArgument);
    }
    
    TEST(CoordinatorTest, JoinWithoutStop) {
      Coordinator coord;
      std::unique_ptr<MockQueueRunner> qr(new MockQueueRunner(&coord));
      TF_ASSERT_OK(coord.RegisterRunner(std::move(qr)));
    
      EXPECT_EQ(coord.Join().code(), Code::FAILED_PRECONDITION);
    }
    
    TEST(CoordinatorTest, AllRunnersStopped) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/kubelet/flags.go

    }
    
    // GetNodeNameAndHostname obtains the name for this Node using the following precedence
    // (from lower to higher):
    // - actual hostname
    // - NodeRegistrationOptions.Name (same as "--node-name" passed to "kubeadm init/join")
    // - "hostname-override" flag in NodeRegistrationOptions.KubeletExtraArgs
    // It also returns the hostname or an error if getting the hostname failed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go

    					},
    				},
    			},
    			expected: &kubeletconfig.KubeletConfiguration{
    				ResolverConfig: ptr.To(""),
    				StaticPodPath:  filepath.Join(drive, "/foo/staticpods"),
    				Authentication: kubeletconfig.KubeletAuthentication{
    					X509: kubeletconfig.KubeletX509Authentication{
    						ClientCAFile: filepath.Join(drive, "/foo/ca.crt"),
    					},
    				},
    			},
    		},
    		{
    			name: "valid: some fields are not absolute paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	tmpDir := t.TempDir()
    	tmpCharts := chartSourceType(filepath.Join(tmpDir, operatorSubdirFilePath))
    	err := copyDir(string(liveCharts), string(tmpCharts))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	rs, err := readFile(filepath.Join(testDataDir, "input-extra-resources", testResourceFile+".yaml"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kubeletconfig/util/files/files_test.go

    		// allocate dirs
    		for _, f := range c.expects {
    			if f.mode.IsDir() {
    				path := filepath.Join(dir, f.name)
    				if _, ok := dirs[path]; !ok {
    					dirs[path] = map[string]string{}
    				}
    			} else if f.mode.IsRegular() {
    				path := filepath.Join(dir, filepath.Dir(f.name))
    				if _, ok := dirs[path]; !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  6. cluster/images/etcd/migrate/migrate.go

    		etcdctlVersioned := fmt.Sprintf("etcdctl-%s", opts.targetVersion)
    		if err := copyFile(filepath.Join(opts.binDir, etcdVersioned), filepath.Join(opts.binDir, "etcd")); err != nil {
    			klog.Fatalf("Failed to copy %s: %v", etcdVersioned, err)
    		}
    		if err := copyFile(filepath.Join(opts.binDir, etcdctlVersioned), filepath.Join(opts.binDir, "etcdctl")); err != nil {
    			klog.Fatalf("Failed to copy %s: %v", etcdctlVersioned, err)
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 16 23:10:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  7. cni/pkg/ipset/ipset.go

    		set.V6Name = fmt.Sprintf(V6Name, name)
    		v6err := deps.ipsetIPHashCreate(set.V6Name, true)
    		err = errors.Join(err, v6err)
    	}
    	return set, err
    }
    
    func (m *IPSet) DestroySet() error {
    	var err error
    	err = m.Deps.destroySet(m.V4Name)
    
    	if m.V6Name != "" {
    		v6err := m.Deps.destroySet(m.V6Name)
    		err = errors.Join(err, v6err)
    	}
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/istio_ca_test.go

    	_, err = os.Stat(path.Join(dir, "root-cert.pem"))
    	g.Expect(os.IsNotExist(err)).Should(Equal(true))
    
    	// Should load remote cacerts successfully.
    	createCASecret(t, s.kubeClient)
    
    	err = s.loadCACerts(caOpts, dir)
    	g.Expect(err).Should(BeNil())
    
    	expectedRoot, err := readSampleCertFromFile("root-cert.pem")
    	g.Expect(err).Should(BeNil())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/syscall/getdirentries_test.go

    			}
    			names2 = append(names2, string(name))
    		}
    	}
    
    	names = append(names, ".", "..") // Getdirentries returns these also
    	slices.Sort(names)
    	slices.Sort(names2)
    	if strings.Join(names, ":") != strings.Join(names2, ":") {
    		t.Errorf("names don't match\n names: %q\nnames2: %q", names, names2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/nooptcgolink_test.go

    	}
    	t.Parallel()
    
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	dir := t.TempDir()
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-gcflags=-N -l", "-o", filepath.Join(dir, "a.out"))
    	cmd.Dir = filepath.Join(testenv.GOROOT(t), "src", "runtime", "testdata", "testprogcgo")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("go build output: %s", out)
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 733 bytes
    - Viewed (0)
Back to top