Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 264 for wantNG (0.53 sec)

  1. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go

    			current:       nil,
    		},
    		{
    			name:           "priority level configuration not wanted, auto update is enabled",
    			bootstrapName:  "pl0",
    			current:        newPLConfiguration("pl1").WithAutoUpdateAnnotation("true").Object(),
    			removeExpected: true,
    		},
    		{
    			name:           "priority level configuration not wanted, auto update is disabled",
    			bootstrapName:  "pl0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tests/integration/telemetry/tracing/tracing.go

    func CompareTrace(t framework.TestContext, got, want zipkin.Span) bool {
    	t.Helper()
    	if got.Name != want.Name || got.ServiceName != want.ServiceName {
    		t.Logf("got span %+v, want span %+v", got, want)
    		return false
    	}
    	if len(got.ChildSpans) < len(want.ChildSpans) {
    		t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported",
    			len(got.ChildSpans), len(want.ChildSpans))
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. test/typeparam/boundmethod.go

    	// // the generic type StringInt[T], which maps directly to T.
    	// got2 := stringify(x2)
    	// want2 := []string{"5", "7", "6"}
    	// if !reflect.DeepEqual(got2, want2) {
    	// 	panic(fmt.Sprintf("got %s, want %s", got2, want2))
    	// }
    
    	// stringify on an instantiated type, whose bound method is associated with
    	// the generic type StringStruct[T], which maps to a struct containing T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 14:29:30 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/internal/trace/summary_test.go

    			}
    		}
    
    		// Check logs.
    		if len(want.logs) != len(summary.Logs) {
    			t.Errorf("wanted %d logs for task %d, got %d logs instead", len(want.logs), id, len(summary.Logs))
    		} else {
    			for i := range want.logs {
    				if want.logs[i] != summary.Logs[i].Log() {
    					t.Errorf("log mismatch: want %#v, got %#v", want.logs[i], summary.Logs[i].Log())
    				}
    			}
    		}
    
    		// Check goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2-legacy.go

    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 4 {
    		err = msgp.ArrayError{Wanted: 4, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	x.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			addPods(t, controller, fx, tc.pods...)
    
    			// Verify expected existing pod AZs
    			for pod, wantAZ := range tc.wantAZ {
    				az := controller.getPodLocality(pod)
    				if wantAZ != "" {
    					if !reflect.DeepEqual(az, wantAZ) {
    						t.Fatalf("Wanted az: %s, got: %s", wantAZ, az)
    					}
    				} else {
    					if az != "" {
    						t.Fatalf("Unexpectedly found az: %s for pod: %s", az, pod.ObjectMeta.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. pkg/config/validation/envoyfilter/envoyfilter_test.go

    	t.Helper()
    	if (gotError == nil) != (wantError == "") {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    	if !strings.Contains(stringOrEmpty(gotError), wantError) {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    
    	if (gotWarning == nil) != (wantWarning == "") {
    		t.Fatalf("got warning=%v but wanted warning=%v", gotWarning, wantWarning)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/crypto/sha1/fallback_test.go

    	if _, err := io.WriteString(c, in); err != nil {
    		t.Fatalf("could not write to c: %v", err)
    	}
    	out := fmt.Sprintf("%x", c.Sum(nil))
    	if out != gold {
    		t.Fatalf("mismatch: got %s, wanted %s", out, gold)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 853 bytes
    - Viewed (0)
Back to top