- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 277 for _logf (0.38 sec)
-
internal/logger/target/testlogger/testlogger.go
tb := t.current.Load() var logf func(format string, args ...any) if tb != nil { tbb := *tb tbb.Helper() switch t.action.Load() { case errorMessage: logf = tbb.Errorf case fatalMessage: logf = tbb.Fatalf default: logf = tbb.Logf } } else { switch t.action.Load() { case errorMessage: logf = func(format string, args ...any) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
src/encoding/csv/fuzz_test.go
buf := new(bytes.Buffer) t.Logf("input = %q", in) for _, tt := range []Reader{ {Comma: ','}, {Comma: ';'}, {Comma: '\t'}, {Comma: ',', LazyQuotes: true}, {Comma: ',', TrimLeadingSpace: true}, {Comma: ',', Comment: '#'}, {Comma: ',', Comment: ';'}, } { t.Logf("With options:") t.Logf(" Comma = %q", tt.Comma) t.Logf(" LazyQuotes = %t", tt.LazyQuotes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 01:26:13 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
} bdir2 := mkdir(t, filepath.Join(dir, "build2")) hargs2 := []string{"-coverpkg=all", "-covermode=" + nonAtomicMode} nonAtomicHarnessPath := buildHarness(t, bdir2, hargs2) t.Logf("atomic harness path is %s", atomicHarnessPath) t.Logf("non-atomic harness path is %s", nonAtomicHarnessPath) // Sub-tests for each API we want to inspect, plus // extras for error testing. t.Run("emitToDir", func(t *testing.T) { t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
src/runtime/vdso_test.go
} } } t.Logf("%s -o %s %s", cc, cexe, cfn) cmd = testenv.Command(t, cc, "-o", cexe, cfn) cmd = testenv.CleanCmdEnv(cmd) out, err = cmd.CombinedOutput() if len(out) > 0 { t.Logf("%s", out) } if err != nil { t.Skipf("can't verify VDSO status, C compiled failed: %v", err) } t.Logf("%s -f -e clock_gettime %s", strace, cexe)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:47:47 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/integration/telemetry/api/istioctl_metrics_test.go
if len(lines) != 3 { t.Logf("Expected 2 lines of output, got %q", output) return errors.New("unexpected output (incorrect number of lines)") } fields := strings.Fields(lines[1]) if len(fields) != 6 { t.Logf("Expected 6 columns, got %#v", fields) return errors.New("unexpected output (incorrect number of columns)") } if fields[0] != workload { t.Logf("Expected column 1 to be %q, got %#v", workload, fields)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.8K bytes - Viewed (0) -
cni/test/install_cni.go
t.Helper() t.Logf("Pre-populating working dirs") for i, f := range cniDirOrderedFiles { destFilenm := fmt.Sprintf("0%d-%s", i, f) t.Logf("Copying %v into temp config dir %v/%s", f, tempCNIConfDir, destFilenm) cp(wd+cniConfSubDir+f, tempCNIConfDir+"/"+destFilenm, t) } for _, f := range ls(wd+k8sSvcAcctSubDir, t) { t.Logf("Copying %v into temp k8s serviceaccount dir %v", f, tempK8sSvcAcctDir)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/integration/security/fuzz/fuzz_test.go
t.Fatalf("Wait for pod %s failed: %v", name, err) } t.Logf("deploy %s is ready", name) } func waitService(t framework.TestContext, name, ns string) { if _, _, err := kube.WaitUntilServiceEndpointsAreReady(t.Clusters().Default().Kube(), ns, name); err != nil { t.Fatalf("Wait for service %s failed: %v", name, err) } t.Logf("service %s is ready", name) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 12.9K bytes - Viewed (0) -
src/internal/testenv/testenv_test.go
if err != nil { t.Fatal(err) } wantInfo, err := os.Stat(absWant) if err != nil { t.Fatal(err) } t.Logf("found go tool at %q (%q)", relWant, absWant) goTool, err := testenv.GoTool() if err != nil { t.Fatalf("testenv.GoTool(): %v", err) } t.Logf("testenv.GoTool() = %q", goTool) gotInfo, err := os.Stat(goTool) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/sysinfo/sysinfo_test.go
// license that can be found in the LICENSE file. package sysinfo_test import ( . "internal/sysinfo" "testing" ) func TestCPUName(t *testing.T) { t.Logf("CPUName: %s", CPUName()) t.Logf("osCPUInfoName: %s", XosCPUInfoName())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 343 bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
t.Logf("syncBatch should not sync any pods because nothing is changed.") m.testSyncBatch() verifyActions(t, m, []core.Action{}) t.Logf("Change mirror pod identity.") m.podManager.(mutablePodManager).RemovePod(mirrorPod) mirrorPod.UID = "new-mirror-pod" mirrorPod.Status = v1.PodStatus{} m.podManager.(mutablePodManager).AddPod(mirrorPod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0)