Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 182 for wantRm (0.2 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache1, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 1);
      TF_EXPECT_OK(ReadCache(&cache2, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 2);
      TF_EXPECT_OK(ReadCache(&cache3, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache4, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 4);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  7. pkg/controller/util/selectors/bimultimap_test.go

    		if !unorderedEqual(want, got) {
    			return fmt.Errorf("reverse select %v wanted %v. got %v.", key, want, got)
    		}
    		return nil
    	}
    }
    
    func emptyMap(m *BiMultimap) error {
    	if len(m.labeledObjects) != 0 {
    		return fmt.Errorf("Found %v labeledObjects. Wanted none.", len(m.labeledObjects))
    	}
    	if len(m.selectingObjects) != 0 {
    		return fmt.Errorf("Found %v selectingObjects. Wanted none.", len(m.selectingObjects))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 01:56:36 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  8. cmd/last-minute_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != uint32(sizeLastElemMarker) {
    		err = msgp.ArrayError{Wanted: uint32(sizeLastElemMarker), Got: zb0001}
    		return
    	}
    	for za0001 := range z {
    		var field []byte
    		_ = field
    		var zb0002 uint32
    		zb0002, err = dc.ReadMapHeader()
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    func TestSchemaDeclType(t *testing.T) {
    	ts := testSchema()
    	cust := SchemaDeclType(ts, false)
    	if cust.TypeName() != "object" {
    		t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName())
    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    func TestSchemaDeclType(t *testing.T) {
    	ts := testSchema()
    	cust := SchemaDeclType(ts, false)
    	if cust.TypeName() != "object" {
    		t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName())
    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
Back to top