Solo tests should work with loopn

Former-commit-id: 82ba449dd0f8e8c81d7391241a6e75ada1bb314c
This commit is contained in:
John Sully 2020-06-07 15:06:50 -04:00
parent 7686b09b39
commit ae7a09c508

View File

@ -253,7 +253,7 @@ proc s {args} {
# test server, so that the test server will send them again to
# clients once the clients are idle.
proc run_solo {name code} {
if {$::numclients == 1 || $::loop || $::external || $::endurance} {
if {$::numclients == 1 || $::loop < 0 || $::external || $::endurance} {
# run_solo is not supported in these scenarios, just run the code.
if {$::endurance} {
puts "Skipping solo tests because endurance mode is enabled"