mirror of
https://github.com/fluencelabs/redis
synced 2025-07-30 16:01:57 +00:00
Redis Cluster test framework skeleton.
This commit is contained in:
22
tests/cluster/run.tcl
Normal file
22
tests/cluster/run.tcl
Normal file
@@ -0,0 +1,22 @@
|
||||
# Cluster test suite. Copyright (C) 2014 Salvatore Sanfilippo antirez@gmail.com
|
||||
# This softare is released under the BSD License. See the COPYING file for
|
||||
# more information.
|
||||
|
||||
cd tests/cluster
|
||||
source cluster.tcl
|
||||
source ../instances.tcl
|
||||
|
||||
proc main {} {
|
||||
parse_options
|
||||
spawn_instance redis $::redis_base_port $::instances_count {
|
||||
"cluster-enabled yes"
|
||||
"appendonly yes"
|
||||
}
|
||||
run_tests
|
||||
cleanup
|
||||
}
|
||||
|
||||
if {[catch main e]} {
|
||||
puts $::errorInfo
|
||||
cleanup
|
||||
}
|
Reference in New Issue
Block a user