test(p02): cover all-duplicate mixed batch and isolate TTL clock fixture [skip ci]
This commit is contained in:
1 parent
f092be0e8c
commit
acca8be01a
2 files changed
+56
-7
No files matched your search
@@ -815,7 +815,7 @@ function setupSocketHandlers(io, bufferQueue, worker, options = {}) {
|
||||
}
|
||||
// A mixed batch must never receive success while one event still has
|
||||
// an uncommitted Redis claim, even if other items were persisted.
|
||||
if (volatileDuplicate && processed > 0) {
|
||||
if (volatileDuplicate) {
|
||||
if (callback) callback({
|
||||
success: false, processed, rejected, duplicates,
|
||||
code: "BUFFER_PERSIST_FAILED",
|
||||
|
||||
Reference in new issue
Block a user