- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for TestOptions (0.21 sec)
-
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) -
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) -
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) -
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/networkfilter_test.go
} for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { m := mesh.DefaultMeshConfig() m.InboundClusterStatName = tt.statPattern cg := NewConfigGenTest(t, TestOptions{ Services: services, MeshConfig: m, }) fcc := inboundChainConfig{ telemetryMetadata: telemetry.FilterChainMetadata{InstanceHostname: "v0.default.example.org"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 25.8K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
"istio.io/istio/pkg/config/schema/collections" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/pkg/util/sets" "istio.io/istio/pkg/wellknown" ) type TestOptions struct { // If provided, these configs will be used directly Configs []config.Config ConfigPointers []*config.Config // If provided, the yaml string will be parsed and used as configs ConfigString string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
okhttp-android/build.gradle.kts
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" buildFeatures { buildConfig = false } testOptions { unitTests { isIncludeAndroidResources = true } targetSdk = 34 } } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 2K bytes - Viewed (0)