Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HaveOccurred (0.18 sec)

  1. pilot/pkg/config/aggregate/config_test.go

    			GroupVersionKind: gvk.GatewayClass,
    			Name:             "other",
    		},
    	}
    
    	_, err := store1.Create(*configReturn)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	stores := []model.ConfigStore{store1, store2}
    
    	store, err := makeStore(stores, nil)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	c := store.Get(gvk.GatewayClass, "other", "")
    	g.Expect(c.Name).To(Equal(configReturn.Name))
    }
    
    func TestAggregateStoreList(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    		routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), virtualServicePlain, serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{})
    		xdstest.ValidateRoutes(t, routes)
    
    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    		// Validate that when timeout is not specified, we disable it based on default value of flag.
    		g.Expect(routes[0].GetRoute().Timeout.Seconds).To(Equal(int64(0)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/bootstrap/server_test.go

    		},
    	}
    	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
    		expectErr bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top