- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for testy (0.15 sec)
-
operator/cmd/mesh/operator_test.go
for _, test := range tests { t.Run("", func(t *testing.T) { args := []string{"operator", "init", "--dry-run"} if test.operatorNamespace != "" { args = append(args, "--operatorNamespace", test.operatorNamespace) } if test.watchedNamespaces != "" { args = append(args, "--watchedNamespaces", test.watchedNamespaces) } kubeClientFunc = func() (kube.CLIClient, error) { return nil, nil }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
).Return(nil) netServer := fixture.netServer err := netServer.syncHostIPSets([]*corev1.Pod{pod}) assert.NoError(t, err) fakeIPSetDeps.AssertExpectations(t) } // for tests that call `runtime.GC()` - we have no control over when the GC is actually scheduled, // and it is flake-prone to check for closure after calling it, this retries for a bit to make // sure the netns is closed eventually.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
"istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/test/util/assert" ) func TestExistingPodAddedWhenNsLabeled(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: NodeName, },
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
// limitations under the License. package install import ( "os" "path/filepath" "testing" "istio.io/istio/cni/pkg/config" "istio.io/istio/cni/pkg/constants" testutils "istio.io/istio/pilot/test/util" ) const ( k8sServiceHost = "10.96.0.1" k8sServicePort = "443" kubeCAFilepath = "testdata/kube-ca.crt" saToken = "service_account_token_string" )
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
// limitations under the License. package iptables import ( "net/netip" "path/filepath" "strings" "testing" testutil "istio.io/istio/pilot/test/util" dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func TestIptables(t *testing.T) { cases := []struct { name string config func(cfg *Config) }{ { "default",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
} r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1] if !r.dualStack { t.Fatalf("expect dualStack is true, actual %v", r.dualStack) } } func Test_dedupPorts(t *testing.T) { type args struct { ports []string } tests := []struct { name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}},
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
istioctl/pkg/config/config_test.go
Xiaopeng Han <******@****.***> 1686841337 +0800
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
Xiaopeng Han <******@****.***> 1705632408 +0800
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 19 02:46:48 GMT 2024 - 6.3K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
Items: []admitv1.MutatingWebhookConfiguration{ { ObjectMeta: metav1.ObjectMeta{ Name: "istio-revision-test", Labels: map[string]string{label.IoIstioRev.Name: "test"}, }, }, }, }, namespaces: corev1.NamespaceList{}, outputMatches: []string{"test"}, error: "", }, { name: "TestNamespacesIncluded", webhooks: admitv1.MutatingWebhookConfigurationList{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds_test.go
// limitations under the License. package configdump import ( "bytes" "encoding/json" "os" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestPrintEcdsSummary(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Dec 13 01:08:07 GMT 2022 - 1.9K bytes - Viewed (0)