- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 56 for NewWithT (0.44 sec)
-
pkg/test/framework/components/namespace/namespace_test.go
Revision: "", }, wantRevision: "istio.io/rev=canary", }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { tc.cfg.overwriteRevisionIfEmpty(tc.revision) g := NewWithT(t) g.Expect(tc.cfg.Revision).Should(Equal(tc.wantRevision)) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.6K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/param/template_test.go
expectFound: true, }, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { tpl := param.Parse(tmpl.ParseOrFail(t, c.template)) actual := tpl.ContainsWellKnown(param.To) g := NewWithT(t) g.Expect(actual).To(Equal(c.expectFound)) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.7K bytes - Viewed (0) -
pilot/pkg/config/file/store_test.go
import ( "fmt" "testing" . "github.com/onsi/gomega" "istio.io/istio/pkg/config/schema/collections" "istio.io/istio/pkg/config/schema/gvk" ) func TestUpdateExistingContents(t *testing.T) { g := NewWithT(t) src := NewKubeSource(collections.Istio) applyAndValidate := func(version string) { configTemplate := `apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: productpage labels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 18:44:58 UTC 2024 - 1.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
TLSOptions: *c.tlsOptions, } p.RegistryOptions = RegistryOptions{ FileDir: configDir, } p.ShutdownDuration = 1 * time.Millisecond }) g := NewWithT(t) s, err := NewServer(args, func(s *Server) { s.kubeClient = kube.NewFakeClient() }) g.Expect(err).To(Succeed()) stop := make(chan struct{}) g.Expect(s.Start(stop)).To(Succeed())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
pkg/config/schema/ast/ast_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/util/strcase/camelcase_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-list_test.go
"path/filepath" "testing" . "github.com/onsi/gomega" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/env" ) func TestProfileList(t *testing.T) { g := NewWithT(t) args := []string{"profile", "list", "--dry-run", "--manifests", filepath.Join(env.IstioSrc, "manifests")} kubeClientFunc = func() (kube.CLIClient, error) { return nil, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 06:27:07 UTC 2024 - 1.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/istio_ca_test.go
"istio.io/istio/pkg/test" "istio.io/istio/pkg/test/env" "istio.io/istio/security/pkg/pki/ca" ) const testNamespace = "istio-system" func TestRemoteCerts(t *testing.T) { g := NewWithT(t) dir := t.TempDir() s := Server{ kubeClient: kube.NewFakeClient(), } s.kubeClient.RunAndWait(test.NewStop(t)) caOpts := &caOptions{ Namespace: testNamespace, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.3K bytes - Viewed (0) -
pilot/pkg/model/proxy_view_test.go
name: "no network label", networkView: []string{"network1"}, network: "", visible: true, }, } for _, c := range cases { c := c t.Run(c.name, func(t *testing.T) { g := NewWithT(t) view := (&model.Proxy{ Metadata: &model.NodeMetadata{ RequestedNetworkView: c.networkView, }, }).GetView() actual := view.IsVisible(&model.IstioEndpoint{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.7K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/controller_test.go
}, }, } ) var AlwaysReady = func(class schema.GroupVersionResource, stop <-chan struct{}) bool { return true } func TestListInvalidGroupVersionKind(t *testing.T) { g := NewWithT(t) clientSet := kube.NewFakeClient() clientSet.RunAndWait(test.NewStop(t)) store := memory.NewController(memory.Make(collections.All)) controller := NewController(clientSet, store, AlwaysReady, nil, controller.Options{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 16:47:06 UTC 2024 - 5.6K bytes - Viewed (0)