- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 919 for Cases (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go
} return nil } func TestIntervalBufferIsFull(t *testing.T) { cases := []struct { endIndex int expected bool }{ {endIndex: bufferSize - 1, expected: false}, {endIndex: bufferSize, expected: true}, {endIndex: bufferSize + 1, expected: true}, } for _, c := range cases { wcib := &watchCacheIntervalBuffer{endIndex: c.endIndex} actual := wcib.isFull()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 11.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
}, }, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { mp := MirrorPercent(tt.route) if !reflect.DeepEqual(mp, tt.want) { t.Errorf("Unexpected mirror percent want %v, got %v", tt.want, mp) } }) } } func TestMirrorPercentByPolicy(t *testing.T) { cases := []struct { name string policy *networking.HTTPMirrorPolicy
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
} // Create the list of cases for all of the names in both upper and lowercase. cases := make([]protocolCase, 0, len(protocols)*2) for _, p := range protocols { name := p.name p.name = strings.ToLower(name) cases = append(cases, p) // Don't bother adding uppercase version for empty string. if name != "" { p.name = strings.ToUpper(name) cases = append(cases, p) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
func TestPrioritizationCycles(t *testing.T) { cases := []instance{} for _, rev := range []string{"", "default", "not-default"} { for _, loc := range []bool{false, true} { for _, comp := range []string{"location", "simple"} { cases = append(cases, instance{ revision: rev, remote: loc, comp: comp, }) } } } for _, start := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt
import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE_K1 import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE_K2
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/apis/apiserverinternal/validation/validation_test.go
import ( "strings" "testing" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/kubernetes/pkg/apis/apiserverinternal" "k8s.io/utils/pointer" ) func TestValidateServerStorageVersion(t *testing.T) { cases := []struct { ssv apiserverinternal.ServerStorageVersion expectedErr string }{{ ssv: apiserverinternal.ServerStorageVersion{ APIServerID: "-fea", EncodingVersion: "v1alpha1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 21:43:49 UTC 2023 - 16.1K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
name: "cluster-foo", want: "cal-want", wantErrStr: "provided secret does not exist", k8sMinorVersion: "23", }, } for i := range cases { c := &cases[i] t.Run(fmt.Sprintf("[%v] %v", i, c.testName), func(tt *testing.T) { makeOutputWriterTestHook = func() writer { return &fakeOutputWriter{injectError: c.outputWriterError} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 20.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
}, }, }, } for _, tc := range cases { for _, op := range tc.opts { for _, typ := range tc.costs { t.Run(typ.comparableLiteral+op, func(t *testing.T) { e := typ.comparableLiteral + op testCost(t, e, typ.expectedEstimatedCost, typ.expectedRuntimeCost) }) } } } } func TestIndexOfCost(t *testing.T) { cases := []struct { opts []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
...Although if the whole application is just **crashing immediately** it probably doesn't make sense to keep restarting it forever. But in those cases, you will probably notice it during development, or at least right after deployment. So let's focus on the main cases, where it could crash entirely in some particular cases **in the future**, and it still makes sense to restart it.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 02 22:37:31 UTC 2024 - 18K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
} } func TestMakeUserNsManager(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.UserNamespacesSupport, true) cases := []struct { name string mappingFirstID uint32 mappingLen uint32 maxPods int success bool }{ { name: "default", success: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0)