mirror of https://github.com/grpc/grpc-go.git
				
				
				
			latency: Listen on localhost:0 instead of :0 in test (#1640)
This commit is contained in:
		
							parent
							
								
									fb4b2b29e4
								
							
						
					
					
						commit
						fc6acc5e5e
					
				| 
						 | 
				
			
			@ -187,7 +187,7 @@ func TestListenerAndDialer(t *testing.T) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	// Create a real listener and wrap it.
 | 
			
		||||
	l, err := net.Listen("tcp", ":0")
 | 
			
		||||
	l, err := net.Listen("tcp", "localhost:0")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		t.Fatalf("Unexpected error creating listener: %v", err)
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue