Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 251 for _logf (0.04 sec)

  1. tests/integration/operator/switch_cr_test.go

    		metav1.ListOptions{})
    	if err == nil {
    		for _, obj := range crList.Items {
    			t.Logf("deleting CR %v", obj.GetName())
    			if err := cs.Dynamic().Resource(gvr).Namespace(IstioNamespace).Delete(context.TODO(), obj.GetName(),
    				metav1.DeleteOptions{}); err != nil {
    				t.Logf("failed to delete existing CR: %v", err)
    			}
    		}
    	} else {
    		t.Logf("failed to list existing CR: %v", err.Error())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/testing/testing_test.go

    		}
    
    		got, ok := parseRunningTests(out)
    		if slices.Equal(got, want) {
    			break
    		}
    		if ok {
    			t.Logf("found running tests:\n%s\nwant:\n%s", strings.Join(got, "\n"), strings.Join(want, "\n"))
    		} else {
    			t.Logf("no running tests found")
    		}
    		t.Logf("retrying with longer timeout")
    		timeout *= 2
    	}
    }
    
    func TestRunningTestsInCleanup(t *testing.T) {
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    	// process to exit.
    	t.Run("Wait", func(t *testing.T) {
    		t.Parallel()
    		cmd := startHang(t, context.Background(), 1*time.Millisecond, os.Kill, 0)
    		err := cmd.Wait()
    		t.Logf("stderr:\n%s", cmd.Stderr)
    		t.Logf("[%d] %v", cmd.Process.Pid, err)
    
    		if err != nil {
    			t.Errorf("Wait: %v; want <nil>", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    						// test failure.
    						t.Logf("test %s: %q section not in readonly segment",
    							wsro.Name, test.name)
    						t.Logf("section %s location: st=0x%x en=0x%x\n",
    							wsro.Name, wsro.Addr, wsro.Addr+wsro.FileSize)
    						t.Logf("sec %s found in these segments: ", wsro.Name)
    						for _, p := range foundSegs {
    							t.Logf(" %q", p.Type)
    						}
    						t.Logf("\nall segments: \n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/testing/testserver.go

    	}
    
    	if errs := completedOptions.Validate(); len(errs) != 0 {
    		return result, fmt.Errorf("failed to validate ServerRunOptions: %v", utilerrors.NewAggregate(errs))
    	}
    
    	t.Logf("runtime-config=%v", completedOptions.APIEnablement.RuntimeConfig)
    	t.Logf("Starting kube-apiserver on port %d...", s.SecureServing.BindPort)
    
    	config, err := app.NewConfig(completedOptions)
    	if err != nil {
    		return result, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("table crd created: %#v", crd)
    
    	crClient := newNamespacedCustomResourceVersionedClient("", dynamicClient, crd, "v1")
    	foo, err := crClient.Create(context.TODO(), newTableInstance("foo"), metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("unable to create noxu instance: %v", err)
    	}
    	t.Logf("foo created: %#v", foo.UnstructuredContent())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    			continue
    		}
    		if externalGVK.GroupKind() != internalGVK.GroupKind() {
    			continue
    		}
    		if nonRoundTrippableTypes[externalGVK] {
    			t.Logf("\tskipping  %v %v", externalGVK, externalGoType)
    			continue
    		}
    		t.Logf("\tround tripping to %v %v", externalGVK, externalGoType)
    
    		roundTrip(t, scheme, apitesting.TestCodec(codecFactory, externalGVK.GroupVersion()), object)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  8. src/net/lookup_test.go

    		// (See https://go.dev/issue/22724.) Explicitly check for
    		// cancellation now, just in case fn itself doesn't notice it.
    		if err := ctx.Err(); err != nil {
    			t.Logf("testHookLookupIP canceled")
    			return nil, err
    		}
    		t.Logf("testHookLookupIP performing lookup")
    		return fn(ctx, network, host)
    	}
    
    	_, err := DefaultResolver.LookupIPAddr(lookupCtx, "google.com")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. pkg/util/goroutinemap/goroutinemap_test.go

    	// Act
    	err2 := retryWithExponentialBackOff(
    		time.Duration(initialOperationWaitTimeShort),
    		func() (bool, error) {
    			err := grm.Run(operationName, operation2)
    			if err != nil {
    				t.Logf("Warning: NewGoRoutine failed with %v. Will retry.", err)
    				return false, nil
    			}
    			return true, nil
    		},
    	)
    
    	// Assert
    	if err2 != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    					// (most likely due to unexported object)
    					// TODO(adonovan): audit for other possibilities.
    					logf("no object for path: %v; discarding %s", err, f.Fact)
    					continue
    				}
    				key.obj = obj
    				logf("read %T fact %s for %v", f.Fact, f.Fact, key.obj)
    			} else {
    				// package fact
    				logf("read %T fact %s for %v", f.Fact, f.Fact, factPkg)
    			}
    			m[key] = f.Fact
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top