Browse Source

remove MaxDeliveryRetries from test file

Burke Libbey 12 years ago
parent
commit
7fe4be2f64
1 changed files with 1 additions and 2 deletions
  1. 1 2
      producer_test.go

+ 1 - 2
producer_test.go

@@ -243,8 +243,7 @@ func TestFailureRetry(t *testing.T) {
 		RequiredAcks:  WaitForLocal,
 		RequiredAcks:  WaitForLocal,
 		MaxBufferTime: 1000000, // "never"
 		MaxBufferTime: 1000000, // "never"
 		// So that we flush after the 2nd message.
 		// So that we flush after the 2nd message.
-		MaxBufferedBytes:   uint32((len(TestMessage) * 2) - 1),
-		MaxDeliveryRetries: 1,
+		MaxBufferedBytes: uint32((len(TestMessage) * 2) - 1),
 	})
 	})
 	if err != nil {
 	if err != nil {
 		t.Fatal(err)
 		t.Fatal(err)