mirror of https://github.com/grpc/grpc-go.git
				
				
				
			minor fix
This commit is contained in:
		
							parent
							
								
									db71b8f965
								
							
						
					
					
						commit
						3d7251c81c
					
				| 
						 | 
				
			
			@ -266,7 +266,7 @@ func doTimeoutOnSleepingServer(tc testpb.TestServiceClient) {
 | 
			
		|||
	ctx, _ := context.WithTimeout(context.Background(), 1*time.Millisecond)
 | 
			
		||||
	stream, err := tc.FullDuplexCall(ctx)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		if grpc.Code(err) == codes.DeadlineExceeded) {
 | 
			
		||||
		if grpc.Code(err) == codes.DeadlineExceeded {
 | 
			
		||||
			grpclog.Println("TimeoutOnSleepingServer done")
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue