Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 463 for Cases (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/networking/util/util_test.go

    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			input := &core.Metadata{}
    			AppendLbEndpointMetadata(tt.metadata, input)
    			if !reflect.DeepEqual(input, tt.want) {
    				t.Errorf("Unexpected Endpoint metadata got %v, want %v", input, tt.want)
    			}
    		})
    	}
    }
    
    func TestByteCount(t *testing.T) {
    	cases := []struct {
    		in  int
    		out string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. schema/relationship.go

    				return
    			}
    		}
    	}
    
    	for idx, ownField := range ownForeignFields {
    		joinFieldName := cases.Title(language.Und, cases.NoLower).String(schema.Name) + ownField.Name
    		if len(joinForeignKeys) > idx {
    			joinFieldName = cases.Title(language.Und, cases.NoLower).String(joinForeignKeys[idx])
    		}
    
    		ownFieldsMap[joinFieldName] = ownField
    		fieldsMap[joinFieldName] = ownField
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    		},
    	}
    
    	for name, tc := range cases {
    		t.Run(name, func(t *testing.T) {
    			err := ValidateInterPodAffinityArgs(nil, &tc.args)
    			if diff := cmp.Diff(tc.wantErr, err, ignoreBadValueDetail); diff != "" {
    				t.Errorf("ValidateInterPodAffinityArgs returned err (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestValidatePodTopologySpreadArgs(t *testing.T) {
    	cases := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  10. pkg/kube/inject/inject_test.go

    			continue
    		}
    		cases = append(cases, testCase{in: f.Name(), want: want})
    	}
    
    	// Precompute injection settings. This may seem like a premature optimization, but due to the size of
    	// YAMLs, with -race this was taking >10min in some cases to generate!
    	if util.Refresh() {
    		cleanupOldFiles(t)
    		writeInjectionSettings(t, "default", nil, "")
    		for i, c := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top