From 9caae4f48880f579f48d9a46154e82b4b610e7d1 Mon Sep 17 00:00:00 2001 From: xhe Date: Thu, 24 Dec 2020 17:31:50 +0800 Subject: [PATCH] fix the test Signed-off-by: xhe --- tests/unit/tracking.tcl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/unit/tracking.tcl b/tests/unit/tracking.tcl index 4d7da755d..1beaf71a9 100644 --- a/tests/unit/tracking.tcl +++ b/tests/unit/tracking.tcl @@ -146,13 +146,16 @@ start_server {tags {"tracking"}} { assert {[lindex $reply 2] eq {proto 3}} set reply [r HELLO 2] - assert {[lindex $reply 6] eq 2} + assert {[lindex $reply 4] eq "proto"} + assert {[lindex $reply 5] eq 2} set reply [r HELLO] - assert {[lindex $reply 6] eq 2} + assert {[lindex $reply 4] eq "proto"} + assert {[lindex $reply 5] eq 2} set reply [r HELLO] - assert {[lindex $reply 6] eq 2} + assert {[lindex $reply 4] eq "proto"} + assert {[lindex $reply 5] eq 2} } test {RESP3 based basic invalidation} {