File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ func TestBatchMessageIDNoAckTracker(t *testing.T) {
7777 metrics : newTestMetrics (),
7878 decryptor : crypto .NewNoopDecryptor (),
7979 }
80+ pc ._setConn (dummyConnection {})
8081 pc .availablePermits = & availablePermits {pc : & pc }
8182 pc .ackGroupingTracker = newAckGroupingTracker (& AckGroupingOptions {MaxSize : 0 },
8283 func (id MessageID ) { pc .sendIndividualAck (id ) }, nil , nil )
@@ -113,6 +114,7 @@ func TestBatchMessageIDWithAckTracker(t *testing.T) {
113114 metrics : newTestMetrics (),
114115 decryptor : crypto .NewNoopDecryptor (),
115116 }
117+ pc ._setConn (dummyConnection {})
116118 pc .availablePermits = & availablePermits {pc : & pc }
117119 pc .ackGroupingTracker = newAckGroupingTracker (& AckGroupingOptions {MaxSize : 0 },
118120 func (id MessageID ) { pc .sendIndividualAck (id ) }, nil , nil )
You can’t perform that action at this time.
0 commit comments