From dd29d441364236992ce89230556526c707c3c960 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 10 Oct 2019 15:22:42 +0200 Subject: [PATCH] Test: fix implementation-dependent test after code change. --- tests/unit/type/stream.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl index ae6c2d7b8..a7415ae8d 100644 --- a/tests/unit/type/stream.tcl +++ b/tests/unit/type/stream.tcl @@ -355,12 +355,12 @@ start_server {tags {"stream"} overrides {appendonly yes stream-node-max-entries r XADD mystream * xitem v } r XTRIM mystream MAXLEN ~ 85 - assert {[r xlen mystream] == 89} + assert {[r xlen mystream] == 90} r config set stream-node-max-entries 1 r debug loadaof r XADD mystream * xitem v incr j - assert {[r xlen mystream] == 90} + assert {[r xlen mystream] == 91} } }