- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 245 for bghelper (1.19 sec)
-
src/cmd/trace/jsontrace_test.go
t.Errorf("bad execution times: cpu10=%v, cpu20=%v", cpu10, cpu20) } } func checkMetaNamesEmitted(t *testing.T, data format.Data, category string, want []string) { t.Helper() names := metaEventNameArgs(category, data) for _, wantName := range want { if !slices.Contains(names, wantName) { t.Errorf("%s: names=%v, want %q", category, names, wantName) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/test/framework/config.go
"failed waiting for YAML %v: %v", y, err) } } } return nil } func (c *configPlan) ApplyOrFail(t test.Failer, opts ...apply.Option) { t.Helper() if err := c.Apply(opts...); err != nil { t.Fatal(err) } } func (c *configPlan) Delete() error { // Delete for each namespace concurrently. g, _ := errgroup.WithContext(context.TODO())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.2K bytes - Viewed (0) -
build/lib/release.sh
cp "${KUBE_ROOT}/cluster/gce/gci/configure-helper.sh" "${dst_dir}/gci-configure-helper.sh" cp "${KUBE_ROOT}/cluster/gce/gci/configure-kubeapiserver.sh" "${dst_dir}/configure-kubeapiserver.sh" if [[ -e "${KUBE_ROOT}/cluster/gce/gci/gke-internal-configure-helper.sh" ]]; then cp "${KUBE_ROOT}/cluster/gce/gci/gke-internal-configure-helper.sh" "${dst_dir}/" fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 21.7K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
} func ipstr(ipv6 bool) string { if ipv6 { return "ipv6" } return "ipv4" } func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) { t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 { goldenFile = filepath.Join("testdata", name+"_ipv6.golden") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 20:16:04 UTC 2024 - 3.7K bytes - Viewed (0) -
src/os/exec/exec_test.go
// was invoked, but may call Skip on the test before actually calling // helperCommand. func maySkipHelperCommand(name string) { helperCommandUsed.Store(name, true) } // helperCommand returns an exec.Cmd that will run the named helper command. func helperCommand(t *testing.T, name string, args ...string) *exec.Cmd { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
func filenames(t *testing.T, dir string) []string { t.Helper() res := []string{} contents, err := os.ReadDir(dir) if err != nil { t.Fatal(err) } for _, f := range contents { res = append(res, f.Name()) } sort.Strings(res) return res } func proxyConfigToMetadata(t *testing.T, proxyConfig *meshconfig.ProxyConfig) model.NodeMetadata { t.Helper() m := map[string]any{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0) -
pkg/test/framework/components/istio/configmap.go
// Save the updated mesh config. mc.mu.Lock() mc.meshConfig = mymc mc.mu.Unlock() } return mymc, nil } func (mc *meshConfig) MeshConfigOrFail(t test.Failer) *meshconfig.MeshConfig { t.Helper() out, err := mc.MeshConfig() if err != nil { t.Fatal(err) } return out }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
istiotest "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" ) func setupTest(t *testing.T) (model.ConfigStoreController, kubernetes.Interface, *xdsfake.Updater) { t.Helper() client := kubeclient.NewFakeClient() endpoints := model.NewEndpointIndex(model.DisabledCache{}) delegate := model.NewEndpointIndexUpdater(endpoints) xdsUpdater := xdsfake.NewWithDelegate(delegate)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
src/os/user/listgroups_unix_test.go
t.Errorf("listGroups(%q): got %v error, want nil", tc.user, err) continue // no more checks } checkSameIDs(t, got, tc.gids) } } func checkSameIDs(t *testing.T, got, want []string) { t.Helper() if len(got) != len(want) { t.Errorf("ID list mismatch: got %v; want %v", got, want) return } slices.Sort(got) slices.Sort(want) mismatch := -1 for i, g := range want { if got[i] != g {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
src/internal/trace/batchcursor_test.go
if i != 0 { fmt.Fprintf(&sb, ", ") } fmt.Fprintf(&sb, "%d", heap[i].ev.time) } fmt.Fprintf(&sb, "]") return sb.String() } func checkHeap(t *testing.T, heap []*batchCursor) { t.Helper() for i := range heap { if i == 0 { continue } if heap[(i-1)/2].compare(heap[i]) > 0 { t.Errorf("heap invariant not maintained between index %d and parent %d: %s", i, i/2, heapDebugString(heap))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3K bytes - Viewed (0)