summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2022-01-31 01:47:58 +0200
committerGitHub <noreply@github.com>2022-01-31 01:47:58 +0200
commitd364ede59cb3c4e7b448450fa68e54b955bb220c (patch)
tree063a2c08ce5759d2468e8876e3bfdb013279d179 /tests/instances.tcl
parentef93125988f90ae1c5cc22aa214f63622dbfa911 (diff)
downloadredis-d364ede59cb3c4e7b448450fa68e54b955bb220c.tar.gz
Revent the attempt to fix cluster rebalance test (#10207) (#10212)
It seems that fix didn't really solve the problem with ASAN, and also introduced issues with other CI runs. unrelated: - make runtest-cluster able to take multiple --single arguments
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r--tests/instances.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/instances.tcl b/tests/instances.tcl
index cf0e80f6c..e1516c1ac 100644
--- a/tests/instances.tcl
+++ b/tests/instances.tcl
@@ -257,7 +257,7 @@ proc parse_options {} {
set val [lindex $::argv [expr $j+1]]
if {$opt eq "--single"} {
incr j
- set ::run_matching "*${val}*"
+ lappend ::run_matching "*${val}*"
} elseif {$opt eq "--pause-on-error"} {
set ::pause_on_error 1
} elseif {$opt eq {--dont-clean}} {
@@ -441,7 +441,7 @@ proc run_tests {} {
file delete $::leaked_fds_file
}
- if {$::run_matching ne {} && [string match $::run_matching $test] == 0} {
+ if {[llength $::run_matching] != 0 && [search_pattern_list $test $::run_matching true] == -1} {
continue
}
if {[file isdirectory $test]} continue