test(p02): cover all-duplicate mixed batch and isolate TTL clock fixture [skip ci]

This commit is contained in:
victorsteele428 committed 2026-11-22 16:59:50 +06:00
1 parent f092be0e8c
commit acca8be01a
2 files changed
+56 -7

No files matched your search

+1 -1
View File
@@ -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",