- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for test_0 (0.17 sec)
-
cni/pkg/install/install_test.go
package install import ( "context" "os" "path/filepath" "sync/atomic" "testing" "time" "istio.io/istio/cni/pkg/config" testutils "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/file" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/util/sets" ) func TestCheckInstall(t *testing.T) { cases := []struct { name string expectedFailure bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { ic := util.ReadFile(t, test.inputConfig) cd := configdump.Wrapper{} err := cd.UnmarshalJSON(ic) if err != nil { t.Fatal(err) } out, err := getIstioVirtualServicePathForSvcFromRoute(&cd, test.inputService, test.inputPort) if err != nil { t.Fatal(err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer" "istio.io/api/label" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/env" "istio.io/istio/pkg/test/util/assert" ) var ( defaultRevisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{ ObjectMeta: metav1.ObjectMeta{ Name: "istio-sidecar-injector",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := convertToStringMap(tt.arg); !reflect.DeepEqual(got, tt.want) { t.Errorf("convertToStringMap() = %v, want %v", got, tt.want) } }) } } func TestSplitEqual(t *testing.T) { tests := []struct { arg string wantKey string wantValue string }{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
// CRDs are not in the prune list, but must be considered for tests. allClusterGVKs = helmreconciler.ClusterResources ) func init() { if kubeBuilderInstalled() { // TestMode is required to not wait in the go client for resources that will never be created in the test server. helmreconciler.TestMode = true // Add install and controller to the list of commands to run tests against.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
Makefile.core.mk
${TARGET_OUT}/release/_istioctl: ${LOCAL_OUT}/istioctl ${LOCAL_OUT}/istioctl completion zsh > ${TARGET_OUT}/release/_istioctl .PHONY: binaries-test binaries-test: go test ${GOBUILDFLAGS} ./tests/binary/... -v --base-dir ${TARGET_OUT} --binaries="$(RELEASE_SIZE_TEST_BINARIES)" # istioctl-all makes all of the non-static istioctl executables for each supported OS .PHONY: istioctl-all
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 20:25:15 GMT 2024 - 22.5K 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 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) const ( testPodName = "testPod" testNSName = "testNS" testSandboxDirectory = "/tmp" invalidVersion = "0.1.0" preVersion = "0.2.0" ) var mockConfTmpl = `{ "cniVersion": "%s", "name": "istio-plugin-sample-test", "type": "sample", "capabilities": {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K 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 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { mt := monitortest.New(t) tt.config.LabelPods = true c, err := NewRepairController(tt.client, tt.config) assert.NoError(t, err) t.Cleanup(func() { assert.NoError(t, c.queue.WaitForClose(time.Second)) }) stop := test.NewStop(t) tt.client.RunAndWait(stop) go c.Run(stop)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 24 03:31:28 GMT 2023 - 10.6K bytes - Viewed (0)