mirror of
				https://github.com/golang/go.git
				synced 2025-10-31 16:50:58 +00:00 
			
		
		
		
	net: fix TestTCPLookup
R=golang-dev, dvyukov, dave CC=golang-dev https://golang.org/cl/12766044
This commit is contained in:
		
							parent
							
								
									f5806a9007
								
							
						
					
					
						commit
						3a93626b49
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -15,10 +15,10 @@ func TestTCPLookup(t *testing.T) { | |||
| 		t.Skip("skipping test to avoid external network") | ||||
| 	} | ||||
| 	c, err := Dial("tcp", "8.8.8.8:53") | ||||
| 	defer c.Close() | ||||
| 	if err != nil { | ||||
| 		t.Fatalf("Dial failed: %v", err) | ||||
| 	} | ||||
| 	defer c.Close() | ||||
| 	cfg := &dnsConfig{timeout: 10, attempts: 3} | ||||
| 	_, err = exchange(cfg, c, "com.", dnsTypeALL) | ||||
| 	if err != nil { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Mikio Hara
						Mikio Hara