mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +00:00
df5db0627f
This includes comments used for module API documentation. * Strategy for replacement: Regex search: `(//|/\*| \*|#).* ("|\()?(r|R)edis( |\. |'|\n|,|-|\)|")(?!nor the names of its contributors)(?!Ltd.)(?!Labs)(?!Contributors.)` * Don't edit copyright comments * Replace "Redis version X.X" -> "Redis OSS version X.X" to distinguish from newly licensed repository * Replace "Redis Object" -> "Object" * Exclude markdown for now * Don't edit Lua scripting comments referring to redis.X API * Replace "Redis Protocol" -> "RESP" * Replace redis-benchmark, -cli, -server, -check-aof/rdb with "valkey-" prefix * Most other places, I use best judgement to either remove "Redis", or replace with "the server" or "server" Fixes #148 --------- Signed-off-by: Jacob Murphy <jkmurphy@google.com> Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
33 lines
785 B
Tcl
33 lines
785 B
Tcl
# Cluster test suite. Copyright (C) 2014 Salvatore Sanfilippo antirez@gmail.com
|
|
# This software is released under the BSD License. See the COPYING file for
|
|
# more information.
|
|
|
|
cd tests/cluster
|
|
source cluster.tcl
|
|
source ../instances.tcl
|
|
source ../../support/cluster.tcl ; # Cluster client.
|
|
|
|
set ::instances_count 20 ; # How many instances we use at max.
|
|
set ::tlsdir "../../tls"
|
|
|
|
proc main {} {
|
|
parse_options
|
|
spawn_instance redis $::redis_base_port $::instances_count {
|
|
"cluster-enabled yes"
|
|
"appendonly yes"
|
|
"enable-protected-configs yes"
|
|
"enable-debug-command yes"
|
|
"save ''"
|
|
}
|
|
run_tests
|
|
cleanup
|
|
end_tests
|
|
}
|
|
|
|
if {[catch main e]} {
|
|
puts $::errorInfo
|
|
if {$::pause_on_error} pause_on_error
|
|
cleanup
|
|
exit 1
|
|
}
|