- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for TestOptions (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/api_enablement_test.go
} func TestAPIEnablementOptionsValidate(t *testing.T) { testCases := []struct { name string testOptions *APIEnablementOptions expectErr string }{ { name: "test when options is nil", }, { name: "test when invalid key with only api/all=false", testOptions: &APIEnablementOptions{ RuntimeConfig: cliflag.ConfigurationMap{"api/all": "false"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 09 07:30:43 UTC 2021 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go
netutils "k8s.io/utils/net" ) func TestServerRunOptionsValidate(t *testing.T) { testCases := []struct { name string testOptions *ServerRunOptions expectErr string }{ { name: "Test when MaxRequestsInFlight is negative value", testOptions: &ServerRunOptions{ AdvertiseAddress: netutils.ParseIPSloppy("192.168.10.10"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:49 UTC 2023 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go
t.Fatalf("Failed to apply etcd options error: %v", err) } restOptions, err := serverConfig.RESTOptionsGetter.GetRESTOptions(schema.GroupResource{Group: "", Resource: ""}) if err != nil { t.Fatal(err) } if restOptions.StorageConfig.StorageObjectCountTracker != serverConfig.StorageObjectCountTracker { t.Errorf("There are different StorageObjectCountTracker in restOptions and serverConfig") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.4K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
out.IstioVersion.Minor = 21 return out } gatewayNames := sets.New("some-gateway") t.Run("for virtual service", func(t *testing.T) { g := NewWithT(t) cg := core.NewConfigGenTest(t, core.TestOptions{}) t.Setenv("ISTIO_DEFAULT_REQUEST_TIMEOUT", "0ms") routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), virtualServicePlain, serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/fuzz_test.go
f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) { defer fuzz.Finalize() fg := fuzz.New(t, data) proxy := fuzz.Struct[*model.Proxy](fg) to := fuzz.Struct[TestOptions](fg) lb := fuzz.Struct[*ListenerBuilder](fg) cg := NewConfigGenTest(t, to) lb.node = cg.SetupProxy(proxy) lb.push = cg.PushContext() cg.ConfigGen.buildGatewayListeners(lb) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 2.2K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder_test.go
test.SetForTest(t, &features.EnableAdditionalIpv4OutboundListenerForIpv6Only, true) cg := NewConfigGenTest(t, TestOptions{Services: testServices}) proxy := cg.SetupProxy(&model.Proxy{IPAddresses: []string{"1111:2222::1"}}) listeners := buildListeners(t, TestOptions{Services: testServices}, proxy) vo := xdstest.ExtractListener(model.VirtualOutboundListenerName, listeners) if vo == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go
) func TestToAuthenticationRequestHeaderConfig(t *testing.T) { testCases := []struct { name string testOptions *RequestHeaderAuthenticationOptions expectConfig *authenticatorfactory.RequestHeaderConfig }{ { name: "test when ClientCAFile is nil", testOptions: &RequestHeaderAuthenticationOptions{ UsernameHeaders: headerrequest.StaticStringSlice{"x-remote-user"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 23 15:01:56 UTC 2019 - 6.9K bytes - Viewed (0) -
tests/fuzz/v1alpha3_fuzzer.go
"istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/networking/core" "istio.io/istio/tests/fuzz/utils" ) func init() { testing.Init() } func ValidateTestOptions(to core.TestOptions) error { for _, csc := range to.ConfigStoreCaches { if csc == nil { return errors.New("a ConfigStoreController was nil") } } for _, sr := range to.ServiceRegistries { if sr == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/log/default_test.go
// See the License for the specific language governing permissions and // limitations under the License. package log import ( "encoding/json" "regexp" "strconv" "testing" "time" ) func testOptions() *Options { return DefaultOptions() } func TestDefault(t *testing.T) { cases := []struct { f func() pat string json bool caller bool wantExit bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
t.Helper() listeners := buildListeners(t, TestOptions{Services: services}, proxy) verifyFilterChainMatch(t, xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)) } func testInboundListenerConfigWithConflictPort(t *testing.T, proxy *model.Proxy, services ...*model.Service) { t.Helper() listeners := buildListeners(t, TestOptions{Services: services}, proxy)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)