- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,040 for logf (0.04 sec)
-
src/net/net_fake_test.go
if err != nil { t.Fatalf("unexpected error from Dial with %v connections: %v", len(dialed), err) } dialed = append(dialed, c) if testing.Verbose() && len(dialed)%(1<<12) == 0 { t.Logf("dialed %d connections", len(dialed)) } } t.Logf("dialed %d connections", len(dialed)) // Now that all of the ports are in use, dialing another should fail due // to port exhaustion, which (for POSIX-like socket APIs) should return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/testing/http.go
b, err := httputil.DumpRequest(req, false) if err != nil { h.t.Logf("Failed to dump request, host=%s: %v", req.Host, err) } else { h.t.Logf("Proxy Request: %s", string(b)) } if req.Method != http.MethodConnect { h.httpProxy.ServeHTTP(rw, req) return } // CONNECT proxy sconn, err := net.Dial("tcp", req.Host) if err != nil { h.t.Logf("Failed to dial proxy backend, host=%s: %v", req.Host, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 20 14:58:46 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go
t.Fatalf("unexpected error: %v", err) } t.Logf("Checking that ObjectMeta is pruned from unknown fields") obj, err := noxuResourceClient.Get(context.TODO(), "foo", metav1.GetOptions{}) if err != nil { t.Fatalf("Unexpected error: %v", err) } objJSON, _ := json.Marshal(obj.Object) t.Logf("Got object: %v", string(objJSON))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 19K 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) -
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) -
pkg/credentialprovider/plugin/plugin_test.go
t.Logf("actual docker config: %v", dockerConfig) t.Logf("expected docker config: %v", expectedDockerConfig) t.Fatal("unexpected docker config") } expectedCacheKeys := []string{"global"} cacheKeys := pluginProvider.cache.ListKeys() if !reflect.DeepEqual(cacheKeys, expectedCacheKeys) { t.Logf("actual cache keys: %v", cacheKeys) t.Logf("expected cache keys: %v", expectedCacheKeys)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 09 06:11:06 UTC 2022 - 26.5K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
t.Helper() err := filelock.Lock(f) t.Logf("Lock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } } func rLock(t *testing.T, f *os.File) { t.Helper() err := filelock.RLock(f) t.Logf("RLock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } } func unlock(t *testing.T, f *os.File) { t.Helper() err := filelock.Unlock(f) t.Logf("Unlock(fd %d) = %v", f.Fd(), err) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0) -
pkg/controller/storageversiongc/gc_controller_test.go
t.Error("unexpected storage version object") t.Logf("got: %+v", storageVersion) t.Logf("expected: %+v", expectedServerStorageVersions) } if *storageVersion.Status.CommonEncodingVersion != "v2" { t.Errorf("unexpected common encoding version") t.Logf("got: %q", *storageVersion.Status.CommonEncodingVersion) t.Logf("expected: %q", "v2") } if len(storageVersion.Status.Conditions) != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 12:19:43 UTC 2023 - 12.1K 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/cmd/go/help_test.go
} diff := diff.Diff(srcPath, old, "go help documentation | gofmt", alldocs) if diff == nil { t.Logf("%s is up to date.", srcPath) return } if *fixDocs { if err := os.WriteFile(srcPath, alldocs, 0666); err != nil { t.Fatal(err) } t.Logf("wrote %d bytes to %s", len(alldocs), srcPath) } else { t.Logf("\n%s", diff) t.Errorf("%s is stale. To update, run 'go generate cmd/go'.", srcPath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 15:45:49 UTC 2023 - 1.6K bytes - Viewed (0)