Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildTestClustersWithTCPKeepalive (0.2 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    			c := xdstest.ExtractCluster("outbound|8080|foobar|foo.example.org", buildTestClustersWithTCPKeepalive(t, tt.rule))
    			if diff := cmp.Diff(c.GetUpstreamConnectionOptions().GetTcpKeepalive(), tt.keepalive, protocmp.Transform()); diff != "" {
    				t.Fatalf("got diff: %v", diff)
    			}
    		})
    	}
    }
    
    func buildTestClustersWithTCPKeepalive(t testing.TB, configType ConfigType) []*cluster.Cluster {
    	// Set mesh wide defaults.
    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