Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHTTPListenerAddrs (0.72 sec)

  1. internal/http/listener_test.go

    		if addr.String() != testCase.expectedAddr {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddr, addr)
    		}
    
    		listener.Close()
    	}
    }
    
    func TestHTTPListenerAddrs(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    	}
    
    	nonLoopBackIP := getNonLoopBackIP(t)
    	var casePorts []string
    	for i := 0; i < 6; i++ {
    		casePorts = append(casePorts, getNextPort())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top