Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isHTTPListener (0.1 sec)

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

    		}
    
    		oldestService := getOldestService(services...)
    		oldestProtocol := oldestService.Ports[0].Protocol
    		if oldestProtocol != protocol.HTTP && isHTTPListener(listeners[0]) {
    			t.Fatal("expected TCP listener, found HTTP")
    		} else if oldestProtocol == protocol.HTTP && !isHTTPListener(listeners[0]) {
    			t.Fatal("expected HTTP listener, found TCP")
    		}
    
    		// Validate that listener conflict preserves the listener of oldest service.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top