diff options
author | Oran Agra <oran@redislabs.com> | 2022-01-31 01:47:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 01:47:58 +0200 |
commit | d364ede59cb3c4e7b448450fa68e54b955bb220c (patch) | |
tree | 063a2c08ce5759d2468e8876e3bfdb013279d179 /tests/instances.tcl | |
parent | ef93125988f90ae1c5cc22aa214f63622dbfa911 (diff) | |
download | redis-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.tcl | 4 |
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 |