test{SLOWLOG- commands with too many arguments are trimmed}{
r config set slowlog-log-slower-than 0
r slowlog reset
r sadd set 3456789101112131415161718192021222324252627282930313233
set e [lindex[r slowlog get]0]
lindex$e3
}{sadd set 345678910111213141516171819202122232425262728293031{...(2 more arguments)}}
test{SLOWLOG- too long arguments are trimmed}{
r config set slowlog-log-slower-than 0
r slowlog reset
set arg [string repeat A 129]
r sadd set foo $arg
set e [lindex[r slowlog get]0]
lindex$e3
}{sadd set foo {AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...(1 more bytes)}}