- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 101 for FATAL (0.17 sec)
-
src/time/time_test.go
if err := quick.Check(f32, cfg); err != nil { t.Fatal(err) } if err := quick.Check(f, cfg); err != nil { t.Fatal(err) } } func TestUnixMilli(t *testing.T) { f := func(msec int64) bool { t := UnixMilli(msec) return t.UnixMilli() == msec } cfg := &quick.Config{MaxCount: 10000} if err := quick.Check(f, cfg); err != nil { t.Fatal(err) } } func TestUnixMicro(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
} }() timeoutCh := time.After(2 * time.Second) lastObservedRV := uint64(0) for { select { case err := <-errc: t.Fatal(err) return case event, ok := <-w.ResultChan(): if !ok { t.Fatal("Unexpected closed") } rv, err := cacher.versioner.ObjectResourceVersion(event.Object) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
if err != nil { t.Fatal(err) } set.Spec.Template.Spec.Containers[0].Env = []v1.EnvVar{{Name: "foo", Value: "bar"}} updateSet := set.DeepCopy() updateRevision, err := newRevision(set, 2, set.Status.CollisionCount) if err != nil { t.Fatal(err) } restoredCurrentSet, err := ApplyRevision(set, currentRevision) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
} b.StopTimer() if len(s) == 0 { b.Fatal(s) } } func BenchmarkQuantityMarshalJSON(b *testing.B) { values := benchmarkQuantities() b.ResetTimer() for i := 0; i < b.N; i++ { q := values[i%len(values)] q.s = "" if _, err := q.MarshalJSON(); err != nil { b.Fatal(err) } } b.StopTimer() } func BenchmarkQuantityUnmarshalJSON(b *testing.B) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
testClientHelloFailure(t, serverConfig, m, "") } // testFatal is a hack to prevent the compiler from complaining that there is a // call to t.Fatal from a non-test goroutine func testFatal(t *testing.T, err error) { t.Helper() t.Fatal(err) } func testClientHelloFailure(t *testing.T, serverConfig *Config, m handshakeMessage, expectedSubStr string) { c, s := localPipe(t) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
b.Fatal(fmt.Errorf("failed converting CRD validation to internal version: %v", err)) return } validator, err := newValidator(internalValidation.OpenAPIV3Schema, gvk, parsed.Spec.Scope == apiextensionsv1.NamespaceScoped) if err != nil { b.Fatal(err) return } validators[gvk] = validator } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
rs := requirementsFromModFiles(ctx, nil, []*modfile.File{modFile}, nil) rs, err := updateRoots(ctx, rs.direct, rs, nil, nil, false) if err != nil { base.Fatal(err) } requirements = rs if err := commitRequirements(ctx, WriteOpts{}); err != nil { base.Fatal(err) } // Suggest running 'go mod tidy' unless the project is empty. Even if we // imported all the correct requirements above, we're probably missing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
} _, ctx := ktesting.NewTestContext(t) ctx, cancel := context.WithCancel(ctx) defer cancel() p, err := NewFit(ctx, &test.args, nil, plfeature.Features{}) if err != nil { t.Fatal(err) } cycleState := framework.NewCycleState() _, preFilterStatus := p.(framework.PreFilterPlugin).PreFilter(ctx, cycleState, test.pod) if !preFilterStatus.IsSuccess() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
if len(s.Value) < 2 { t.Fatal("block profile has less than 2 sample types") } if line.Function.Name == "runtime/pprof.blockInfrequentLong" { il = float64(s.Value[1]) } else if line.Function.Name == "runtime/pprof.blockFrequentShort" { fs = float64(s.Value[1]) } } } } if il == -1 || fs == -1 { t.Fatal("block profile is missing expected functions") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/net/url/url_test.go
if err != nil { t.Fatal(err) } if u1.String() != u.String() { t.Errorf("json decoded to: %s\nwant: %s\n", u1, u) } } func TestGob(t *testing.T) { u, err := Parse("https://www.google.com/x?y=z") if err != nil { t.Fatal(err) } var w bytes.Buffer err = gob.NewEncoder(&w).Encode(u) if err != nil { t.Fatal(err) } u1 := new(URL)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0)