Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 414 for wantNG (0.66 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller_test.go

    	if !equality.Semantic.DeepEqual(target.UsernameHeaders(), expected.usernameHeaders) {
    		t.Fatalf("incorrect usernameHeaders, got %v, wanted %v", target.UsernameHeaders(), expected.usernameHeaders)
    	}
    	if !equality.Semantic.DeepEqual(target.GroupHeaders(), expected.groupHeaders) {
    		t.Fatalf("incorrect groupHeaders, got %v, wanted %v", target.GroupHeaders(), expected.groupHeaders)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 14:37:01 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. test/typeparam/issue48318.go

    	data, err := xml.Marshal(src)
    	if err != nil {
    		panic(err)
    	}
    	dst := &A[string, int]{}
    	err = xml.Unmarshal(data, dst)
    	if err != nil {
    		panic(err)
    	}
    	if *src != *dst {
    		panic(fmt.Sprintf("wanted %#v got %#v", src, dst))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 581 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/test/zerorange_test.go

    	if r := triggerZerorangeLarge(101, 303, 505); r != 1010 {
    		t.Errorf("large: wanted %d got %d", 1010, r)
    	}
    	if r := triggerZerorangeMedium(101, 303, 505); r != 1010 {
    		t.Errorf("medium: wanted %d got %d", 1010, r)
    	}
    	if r := triggerZerorangeSmall(101, 303, 505); r != 1010 {
    		t.Errorf("small: wanted %d got %d", 1010, r)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. internal/crypto/header_test.go

    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    			t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got)
    		}
    		got = got && S3KMS.IsRequested(test.Header)
    		if got != test.Expected {
    			t.Errorf("SSE-KMS: Test %d: Wanted %v but got %v", i, test.Expected, got)
    		}
    	}
    	for i, test := range s3IsRequestedTests {
    		_, got := IsRequested(test.Header)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/kubelet/certificate/bootstrap/bootstrap_test.go

    	certData, err := requestNodeCertificate(context.TODO(), newClientset(fakeClient{}), []byte{}, "fake-node-name")
    	if err == nil {
    		t.Errorf("Got no error, wanted error an error because there was an empty private key passed in.")
    	}
    	if certData != nil {
    		t.Errorf("Got cert data, wanted nothing as there should have been an error.")
    	}
    }
    
    func TestRequestNodeCertificateErrorCreatingCSR(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top