- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for Logf (0.02 sec)
-
cmd/xl-storage-free-version_test.go
t.Helper() if err != nil { t.Fatal(err) } } // Add a version with tiered content, one with local content xl := xlMetaV2{} counter := 1 report := func() { t.Helper() // t.Logf("versions (%d): len = %d", counter, len(xl.versions)) counter++ } fi := FileInfo{ Volume: "volume", Name: "object-name", VersionID: "00000000-0000-0000-0000-000000000001",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
internal/dsync/dsync_test.go
// We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed elapsed := time.Since(started) if elapsed < expect { t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed) } t.Logf("expected at least %v time have passed, %v passed", expect, elapsed) } // Test two locks for different resources, both succeed func TestTwoSimultaneousLocksForDifferentResources(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0) -
cni/test/install_k8s_test.go
resultFileName: "user-defined.conf", expectedOutputFile: testDataDir + "/expected/YYY-istio-cni.conf", }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { t.Logf("%s: Test preconf %s, expected %s", tc.name, tc.preConfFile, tc.expectedOutputFile) install.RunInstallCNITest(t, tc.chainedCNIPlugin, tc.preConfFile, tc.resultFileName, tc.delayedConfFile, tc.expectedOutputFile,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 23:59:49 UTC 2024 - 7.9K bytes - Viewed (0) -
api/go1.18.txt
pkg testing, method (*F) Fatalf(string, ...interface{}) pkg testing, method (*F) Fuzz(interface{}) pkg testing, method (*F) Helper() pkg testing, method (*F) Log(...interface{}) pkg testing, method (*F) Logf(string, ...interface{}) pkg testing, method (*F) Name() string pkg testing, method (*F) Setenv(string, string) pkg testing, method (*F) Skip(...interface{}) pkg testing, method (*F) SkipNow()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
if err != nil { t.Fatal(err) } err = os.WriteFile(filepath.Join(tempDir, c.delayedConfName), data, 0o644) if err != nil { t.Fatal(err) } t.Logf("delayed write to %v", filepath.Join(tempDir, c.delayedConfName)) } else if len(c.expectedConfName) > 0 { t.Fatalf("timed out waiting for expected %s", expectedFilepath) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
"--internalIP", "10.10.10.10", "--clusterID", constants.DefaultClusterName, "-o", testdir, } if output, err := runTestCmd(t, createClientFunc, "", cmdWithClusterID); err != nil { t.Logf("output: %v", output) t.Fatal(err) } cmdNoClusterID := []string{ "entry", "configure", "-f", path.Join(testdir, "workloadgroup.yaml"), "--internalIP", "10.10.10.10", "-o", testdir, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/archive/zip/reader_test.go
if err != nil { t.Errorf("%v: OpenRaw ReadAll error=%v", f.Name, err) return } end := uint64(start) + f.CompressedSize64 want := raw[start:end] if !bytes.Equal(got, want) { t.Logf("got %q", got) t.Logf("want %q", want) t.Errorf("%v: OpenRaw returned unexpected bytes", f.Name) return } r, err := f.Open() if err != nil { t.Errorf("%v", err) return }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
fi.ModTime = fi.ModTime.Add(-time.Second) xl.AddVersion(fi) } // Encode all. This is used for benchmarking. enc, err := xl.AppendTo(nil) if err != nil { b.Fatal(err) } b.Logf("Serialized size: %d bytes", len(enc)) rng := rand.New(rand.NewSource(0)) dump := make([]byte, len(enc)) b.Run("UpdateObjectVersion", func(b *testing.B) { b.SetBytes(int64(size)) b.ResetTimer()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/kms-handlers_test.go
secretKey = userSecretKey } req := buildKMSRequest(t, test.method, test.path, accessKey, secretKey, test.query) rec := httptest.NewRecorder() adminTestBed.router.ServeHTTP(rec, req) t.Logf("HTTP req: %s, resp code: %d, resp body: %s", req.URL.String(), rec.Code, rec.Body.String()) // Check status code if rec.Code != test.wantStatusCode { t.Errorf("want status code %d, got %d", test.wantStatusCode, rec.Code)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"abc//./../def", "def"}, {"abc/../../././../def", "../../def"}, } for _, test := range cleantests { want := test.path != test.result got := pathNeedsClean([]byte(test.path)) if !got { t.Logf("no clean: %q", test.path) } if want && !got { t.Errorf("input: %q, want %v, got %v", test.path, want, got) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0)