Skip to content

Commit

Permalink
command reply
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin committed Jan 24, 2024
1 parent 07b292a commit 58c6f9f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unit/introspection-2.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ start_server {tags {"introspection"}} {
assert_match {*calls=1,*} [cmdstat geoadd]
} {} {needs:config-resetstat}

test {COMMAND} {
set res [r command]
puts "===================="
puts "11111"
puts $res
puts "2222"
}

test {COMMAND COUNT get total number of Redis commands} {
assert_morethan [r command count] 0
}
Expand Down

0 comments on commit 58c6f9f

Please sign in to comment.