- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for Rt (0.06 sec)
-
cmd/kubeadm/app/discovery/discovery_test.go
}, }, expect: false, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { config := rt.d config.Timeouts = &kubeadm.Timeouts{ Discovery: &metav1.Duration{Duration: 1 * time.Minute}, } _, actual := For(&config) if (actual == nil) != rt.expect { t.Errorf( "failed For:\n\texpected: %t\n\t actual: %t", rt.expect, (actual == nil), ) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/cmdutil_test.go
supportedArgs: []string{"node-name"}, expectedErr: true, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { actual := ValidateExactArgNumber(rt.args, rt.supportedArgs) if (actual != nil) != rt.expectedErr { t.Errorf( "failed ValidateExactArgNumber:\n\texpected error: %t\n\t actual error: %t", rt.expectedErr, (actual != nil), ) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
case AMOVH, ASXTH: o1 = c.opbfm(p, ASBFM, 0, 15, rf, rt) case AMOVW, ASXTW: o1 = c.opbfm(p, ASBFM, 0, 31, rf, rt) case AMOVBU, AUXTB: o1 = c.opbfm(p, AUBFM, 0, 7, rf, rt) case AMOVHU, AUXTH: o1 = c.opbfm(p, AUBFM, 0, 15, rf, rt) case AMOVWU: o1 = c.oprrr(p, as) | (uint32(rf&31) << 16) | (REGZERO & 31 << 5) | uint32(rt&31)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
scheduler: {} `), }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { rt.buf = bytes.NewBufferString("") printConfiguration(rt.cfg, rt.buf, &output.TextPrinter{}) actualBytes := rt.buf.Bytes() if !bytes.Equal(actualBytes, rt.expectedBytes) { t.Errorf( "failed PrintConfiguration:\n\texpected: %q\n\t actual: %q", string(rt.expectedBytes), string(actualBytes), )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/volumes_test.go
ReadOnly: true, }, }, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { actualVol, actualVolMount := getEtcdCertVolumes(&kubeadmapi.ExternalEtcd{ CAFile: rt.ca, CertFile: rt.cert, KeyFile: rt.key, }, k8sCertificatesDir) if !reflect.DeepEqual(actualVol, rt.vol) { t.Errorf( "failed getEtcdCertVolumes:\n\texpected: %v\n\t actual: %v",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 18.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/plan_test.go
} plan := genUpgradePlan(rt.upgrades, rt.versionStates) if err := printer.PrintObj(plan, rt.buf); err != nil { t.Errorf("unexpected error when print object: %v", err) } actualBytes := rt.buf.Bytes() if !bytes.Equal(actualBytes, rt.expectedBytes) { t.Errorf( "failed PrintUpgradePlan:\n\texpected: %s\n\n\tactual: %s", string(rt.expectedBytes), string(actualBytes), )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 03:03:29 UTC 2024 - 27.3K bytes - Viewed (0) -
pkg/kube/krt/recomputetrigger_test.go
"istio.io/istio/pkg/ptr" "istio.io/istio/pkg/test/util/assert" ) func TestRecomputeTrigger(t *testing.T) { rt := krt.NewRecomputeTrigger() col1 := krt.NewStatic(ptr.Of("foo")).AsCollection() response := "foo" col2 := krt.NewCollection(col1, func(ctx krt.HandlerContext, i string) *string { rt.MarkDependant(ctx) return ptr.Of(response) }) tt := assert.NewTracker[string](t) col2.Register(TrackerHandler[string](tt))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 07 05:51:56 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/buildcfg/exp.go
if goexp != "" { // Create a map of known experiment names. names := make(map[string]func(bool)) rv := reflect.ValueOf(&flags.Flags).Elem() rt := rv.Type() for i := 0; i < rt.NumField(); i++ { field := rv.Field(i) names[strings.ToLower(rt.Field(i).Name)] = field.SetBool } // "regabi" is an alias for all working regabi // subexperiments, and not an experiment itself. Doing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/compute_test.go
// Kubernetes release. for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { dnsName := constants.CoreDNSDeploymentName client := newMockClientForTest(t, dnsName, rt.beforeDNSVersion, rt.deployDNSFailed) actualUpgrades, actualErr := GetAvailableUpgrades(rt.vg, rt.allowExperimental, rt.allowRCs, client, &output.TextPrinter{}) if diff := cmp.Diff(rt.expectedUpgrades, actualUpgrades); len(diff) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 08:39:51 UTC 2024 - 34.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests_test.go
}, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { actual := getAPIServerCommand(rt.cfg, rt.endpoint) sort.Strings(actual) sort.Strings(rt.expected) if !reflect.DeepEqual(actual, rt.expected) { errorDiffArguments(t, rt.name, actual, rt.expected) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 48.5K bytes - Viewed (0)