1
0
mirror of https://github.com/fluencelabs/redis synced 2025-07-25 21:41:56 +00:00
Files
deps
src
tests
assets
cluster
helpers
integration
sentinel
tests
tmp
run.tcl
support
tmp
unit
instances.tcl
test_helper.tcl
utils
.gitignore
00-RELEASENOTES
BUGS
CONTRIBUTING
COPYING
INSTALL
MANIFESTO
Makefile
README.md
redis.conf
runtest
runtest-cluster
runtest-sentinel
sentinel.conf
redis/tests/sentinel/run.tcl

24 lines
561 B
Tcl
Raw Normal View History

# Sentinel test suite. Copyright (C) 2014 Salvatore Sanfilippo antirez@gmail.com
2014-07-31 14:25:48 -04:00
# This software is released under the BSD License. See the COPYING file for
# more information.
cd tests/sentinel
source ../instances.tcl
set ::instances_count 5 ; # How many instances we use at max.
proc main {} {
parse_options
spawn_instance sentinel $::sentinel_base_port $::instances_count
spawn_instance redis $::redis_base_port $::instances_count
run_tests
cleanup
end_tests
}
if {[catch main e]} {
puts $::errorInfo
cleanup
2014-06-18 08:10:04 -04:00
exit 1
}