Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHTTPListenerAddr (0.64 sec)

  1. internal/http/listener_test.go

    			if err != nil {
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    			conn.Close()
    		}
    
    		listener.Close()
    	}
    }
    
    func TestHTTPListenerAddr(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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top