Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ToNot (0.17 sec)

  1. pilot/pkg/config/kube/gateway/controller_test.go

    			Name:             "http-route",
    			Namespace:        "ns1",
    		},
    		Spec: httpRouteSpec,
    	})
    
    	cg := core.NewConfigGenTest(t, core.TestOptions{})
    	g.Expect(controller.Reconcile(cg.PushContext())).ToNot(HaveOccurred())
    	cfg := controller.List(gvk.Gateway, "ns1")
    	g.Expect(cfg).To(HaveLen(1))
    	for _, c := range cfg {
    		g.Expect(c.GroupVersionKind).To(Equal(gvk.Gateway))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/instances_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.testName, func(t *testing.T) {
    			g := NewWithT(t)
    
    			params, err := option.NewTemplateParams(c.option)
    			if c.expectError {
    				g.Expect(err).ToNot(BeNil())
    			} else {
    				g.Expect(err).To(BeNil())
    				actual, ok := params[c.key]
    				if c.expected == nil {
    					g.Expect(ok).To(BeFalse())
    				} else {
    					g.Expect(ok).To(BeTrue())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server_test.go

    			InsecureSkipVerify: true,
    		},
    	}
    	defer c.CloseIdleConnections()
    
    	for _, url := range []string{"http://" + s.httpAddr, "https://" + s.httpsAddr} {
    		resp, err := c.Get(url + "/ready")
    		g.Expect(err).ToNot(HaveOccurred())
    		g.Expect(resp.StatusCode).To(Equal(http.StatusOK))
    		g.Expect(resp.Body.Close()).To(Succeed())
    	}
    }
    
    func TestInitOIDC(t *testing.T) {
    	tests := []struct {
    		name      string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/analyzers_test.go

    		existingNames.Insert(n)
    	}
    }
    
    func TestAnalyzersHaveDescription(t *testing.T) {
    	g := NewWithT(t)
    
    	for _, a := range All() {
    		g.Expect(a.Metadata().Description).ToNot(Equal(""))
    	}
    }
    
    func setupAnalyzerForCase(tc testCase, cr local.CollectionReporterFn) (*local.IstiodAnalyzer, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_test.go

    	clusters := buildTestClusters(clusterTest{t: t, serviceHostname: TestServiceNHostname, nodeType: model.SidecarProxy, mesh: mesh, destRule: destRule})
    
    	tlsContext := getTLSContext(t, clusters[1])
    	g.Expect(tlsContext).ToNot(BeNil())
    	g.Expect(tlsContext.GetSni()).To(Equal("custom.sni.com"))
    	g.Expect(clusters[1].TransportSocketMatches).To(HaveLen(0))
    
    	for _, i := range []int{0, 2, 3} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top