mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Merge pull request #1601 from ripienaar/skip_ack_on_acknxt
Do not ack to AckNxt
This commit is contained in:
@@ -1665,6 +1665,11 @@ func TestJetStreamWorkQueueAckAndNext(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected error waiting for messages: %v", err)
|
||||
}
|
||||
|
||||
if !bytes.Equal(m.Data, []byte("Hello World!")) {
|
||||
t.Fatalf("Got an invalid message from the stream: %q", m.Data)
|
||||
}
|
||||
|
||||
nc.PublishRequest(m.Reply, sub.Subject, server.AckNext)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user