test infra - flushall between tests in external mode

(cherry picked from commit b65e5aca86)
This commit is contained in:
Oran Agra 2020-08-31 11:16:06 +03:00
parent 28e074608c
commit 72d6f966ac

View File

@ -296,6 +296,7 @@ proc start_server {options {code undefined}} {
# append the server to the stack
lappend ::servers $srv
}
r flushall
uplevel 1 $code
set ::tags [lrange $::tags 0 end-[llength $tags]]
return