From d364ede59cb3c4e7b448450fa68e54b955bb220c Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 31 Jan 2022 01:47:58 +0200 Subject: 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 --- tests/instances.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/instances.tcl') 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 -- cgit v1.2.1