From bcf2ac10b1391a4aea5772694ecbeab33940ee68 Mon Sep 17 00:00:00 2001 From: zZee Date: Fri, 22 Mar 2024 10:11:47 +0800 Subject: [PATCH] test: Comment unavailable tcl test cases (#2528) * Comment unavailable tcl test cases --------- Co-authored-by: ZeE --- .gitignore | 1 + tests/unit/introspection.tcl | 17 +++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 335ff629d3..ab567194a1 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@ tags # IDE .vscode +.DS_Store # generate make_config.mk diff --git a/tests/unit/introspection.tcl b/tests/unit/introspection.tcl index 342bb939a8..b7cfcdd112 100644 --- a/tests/unit/introspection.tcl +++ b/tests/unit/introspection.tcl @@ -11,14 +11,15 @@ start_server {tags {"introspection"}} { list [$rd read] [$rd read] [$rd read] } {*OK*"set" "foo"*"get" "foo"*} - test {MONITOR can log commands issued by the scripting engine} { - set rd [redis_deferring_client] - $rd monitor - r eval {redis.call('set',KEYS[1],ARGV[1])} 1 foo bar - $rd read ;# Discard the OK - assert_match {*eval*} [$rd read] - assert_match {*lua*"set"*"foo"*"bar"*} [$rd read] - } + # Pika does not support the debug command + # test {MONITOR can log commands issued by the scripting engine} { + # set rd [redis_deferring_client] + # $rd monitor + # r eval {redis.call('set',KEYS[1],ARGV[1])} 1 foo bar + # $rd read ;# Discard the OK + # assert_match {*eval*} [$rd read] + # assert_match {*lua*"set"*"foo"*"bar"*} [$rd read] + # } test {CLIENT GETNAME should return NIL if name is not assigned} { r client getname