Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/http/listener_test.go

    				t.Fatalf("Test %d: listenErrs[%d]: expected = %v, got = <nil>", testIdx+1, i, expectedListenErr)
    			}
    		}
    		if listener != nil {
    			listener.Close()
    		}
    	}
    }
    
    func TestHTTPListenerStartClose(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    	}
    
    	nonLoopBackIP := getNonLoopBackIP(t)
    
    	testCases := []struct {
    		serverAddrs []string
    	}{
    		{[]string{"localhost:0"}},
    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