Browse Source

removing the keepaive setting from client_test

eric 10 years ago
parent
commit
4fb06d6e1f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      client_test.go

+ 0 - 2
client_test.go

@@ -4,7 +4,6 @@ import (
 	"io"
 	"io"
 	"sync"
 	"sync"
 	"testing"
 	"testing"
-	"time"
 )
 )
 
 
 func safeClose(t *testing.T, c io.Closer) {
 func safeClose(t *testing.T, c io.Closer) {
@@ -79,7 +78,6 @@ func TestClientDoesntCachePartitionsForTopicsWithErrors(t *testing.T) {
 	seedBroker.Returns(metadataResponse)
 	seedBroker.Returns(metadataResponse)
 
 
 	config := NewConfig()
 	config := NewConfig()
-	config.Net.KeepAlive = 12 * time.Millisecond
 	config.Metadata.Retry.Max = 0
 	config.Metadata.Retry.Max = 0
 	client, err := NewClient([]string{seedBroker.Addr()}, config)
 	client, err := NewClient([]string{seedBroker.Addr()}, config)
 	if err != nil {
 	if err != nil {