- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for wantRm (0.22 sec)
-
pkg/controller/job/indexed_job_utils_test.go
} got := firstPendingIndexes(jobCtx, tc.cnt, tc.completions) if diff := cmp.Diff(tc.want, got); diff != "" { t.Errorf("Wrong first pending indexes (-want,+got):\n%s", diff) } }) } } func TestAppendDuplicatedIndexPodsForRemoval(t *testing.T) { cases := map[string]struct { pods []indexPhase wantRm []indexPhase wantLeft []indexPhase completions int32 }{ "all unique": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
Read(r, BigEndian, &ls.Float64) } b.StopTimer() want := s want.Int8 = 0 want.Int16 = 0 want.Int32 = 0 want.Int64 = 0 want.Uint8 = 0 want.Uint16 = 0 want.Uint32 = 0 want.Uint64 = 0 want.Complex64 = 0 want.Complex128 = 0 want.Array = [4]uint8{0, 0, 0, 0} want.Bool = false want.BoolArray = [4]bool{false, false, false, false}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
mfc++ } else if strings.HasPrefix(e.Name(), coverage.CounterFilePref) { cdc++ } } wantmf := 1 wantcf := 1 if mfc != wantmf { t.Errorf("EmitToDir: want %d meta-data files, got %d\n", wantmf, mfc) } if cdc != wantcf { t.Errorf("EmitToDir: want %d counter-data files, got %d\n", wantcf, cdc) } upmergeCoverData(t, edir, "atomic") upmergeCoverData(t, rdir, "atomic") }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
src/iter/pull_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 10.2K bytes - Viewed (0) -
src/internal/trace/trace_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/config/validation/agent/validation_test.go
if err == nil && tt.out != "" { t.Fatalf("ValidateWildcardDomain(%v) = nil, wanted %q", tt.in, tt.out) } else if err != nil && tt.out == "" { t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted nil", tt.in, err) } else if err != nil && !strings.Contains(err.Error(), tt.out) { t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted %q", tt.in, err, tt.out) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/spiffe/spiffe_test.go
if c.errContains != "" { if err == nil { t.Fatalf("got nil error; wanted error to contain %q", c.errContains) } if !strings.Contains(err.Error(), c.errContains) { t.Fatalf("got error: %q; wanted error to contain %q", err, c.errContains) } } else { if err != nil { t.Errorf("got error: %q; wanted no error", err) } if rootCertMap == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0)