Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNilRetryShouldReturnDefault (0.38 sec)

  1. pilot/pkg/networking/core/route/retry/retry_test.go

    )
    
    func TestRetry(t *testing.T) {
    	testCases := []struct {
    		name       string
    		route      *networking.HTTPRoute
    		assertFunc func(g *WithT, policy *envoyroute.RetryPolicy)
    	}{
    		{
    			name: "TestNilRetryShouldReturnDefault",
    			// Create a route where no retry policy has been explicitly set.
    			route: &networking.HTTPRoute{},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(Not(BeNil()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top