- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for Holden (0.17 sec)
-
operator/cmd/mesh/profile-dump_test.go
t.Fatal(err) } // installPackagePath may change, we will remove it for consistent output got = installPackagePathRegex.ReplaceAllString(got, "") if refreshGoldenFiles() { t.Logf("Refreshing golden file for %s", outPath) if err := os.WriteFile(outPath, []byte(got), 0o644); err != nil { t.Error(err) } } want, err := readFile(outPath) if err != nil { t.Fatal(err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
cmd/metacache_test.go
lastHandout: metaCacheTestsetTimestamp, dataVersion: metacacheStreamVersion, }, 2: { id: "case-3-older", bucket: "bucket", root: "folder/prefix", recursive: false, status: scanStateSuccess, fileNotFound: true, error: "", started: metaCacheTestsetTimestamp.Add(-time.Minute), ended: metaCacheTestsetTimestamp,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
cmdController cmdType = "operator controller" ) // Golden output files add a lot of noise to pull requests. Use a unique suffix so // we can hide them by default. This should match one of the `linuguist-generated=true` // lines in istio.io/istio/.gitattributes. const ( goldenFileSuffixHideChangesInReview = ".golden.yaml" goldenFileSuffixShowChangesInReview = ".golden-show-in-gh-pull-request.yaml" ) var (
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/workload/workload_test.go
"mesh.yaml": true, "root-cert.pem": true, "cluster.env": true, } const goldenSuffix = ".golden" // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig. // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used // to generate golden outputs from the VM command. func TestWorkloadEntryConfigure(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
cmd/metacache-stream_test.go
n-null-max.dyn.expect-noinput", "src/compress/flate/testdata/huffman-null-max.golden", "src/compress/flate/testdata/huffman-null-max.in", "src/compress/flate/testdata/huffman-null-max.wb.expect", "src/compress/flate/testdata/huffman-null-max.wb.expect-noinput", "src/compress/flate/testdata/huffman-pi.dyn.expect", "src/compress/flate/testdata/huffman-pi.dyn.expect-noinput", "src/compress/flate/testdata/huffman-pi.golden", "src/compress/flate/testdata/huffman-pi.in", "src/compress/flate/testdata/h...
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 15K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
cmd += " --manifests=" + string(snapshotCharts) gotYAML, err := runCommand(cmd) if err != nil { t.Fatal(err) } if refreshGoldenFiles() { t.Logf("Refreshing golden file for %s", goldenFilepath) if err := os.WriteFile(goldenFilepath, []byte(gotYAML), 0o644); err != nil { t.Error(err) } } wantYAML, err := readFile(goldenFilepath) if err != nil { t.Fatal(err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
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") } testutil.CompareContent(t, gotBytes, goldenFile) } func constructTestConfig() *Config { return &Config{ RestoreFormat: false, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
if err := os.Remove(path); err != nil && !os.IsNotExist(err) { // Anything other than "file not found" is an error. return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err) } // Attempt to create the folder in case it doesn't exist if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil { // If we cannot create it, just warn here - we will fail later if there is a real error
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.7K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
name string content string meta map[string]string addDeleteMarker bool }{ {testBuckets[0], "unique/folder/", "", nil, true}, {testBuckets[0], "unique/folder/1.txt", "content", nil, false}, {testBuckets[1], "unique/folder/1.txt", "content", nil, true}, } for _, object := range testObjects { md5Bytes := md5.Sum([]byte(object.content))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
cni/test/install_cni.go
t.Fatal(err) } if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil { t.Fatal(err) } } // populateTempDirs populates temporary test directories with golden files and // other related configuration. func populateTempDirs(wd string, cniDirOrderedFiles []string, tempCNIConfDir, tempK8sSvcAcctDir string, t *testing.T) { t.Helper() t.Logf("Pre-populating working dirs")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0)