Merge pull request #1509 from influxdb/update-tmux-3-shard-test

Update TMUX 3 shard test
pull/1513/head
Cory LaNou 2015-02-04 10:28:44 -07:00
commit e4ef3ee420
1 changed files with 3 additions and 3 deletions

6
tests/tmux/3_shards Normal file → Executable file
View File

@ -14,10 +14,10 @@ if ! tmux ls | grep -q "$session"; then
tmux split-window -h -t $session
# Fire up the servers
tmux send-keys -t $session:1.1 'influxd -config server01_8086.toml' C-m
tmux send-keys -t $session:1.1 'influxd -config server_8086.toml' C-m
sleep 1
tmux send-keys -t $session:1.2 'influxd -config server02_8087.toml -join http://127.0.0.1:8086' C-m
tmux send-keys -t $session:1.3 'influxd -config server03_8088.toml -join http://127.0.0.1:8086' C-m
tmux send-keys -t $session:1.2 'influxd -config server_8087.toml -join http://127.0.0.1:8086' C-m
tmux send-keys -t $session:1.3 'influxd -config server_8088.toml -join http://127.0.0.1:8086' C-m
# even out the layouts
tmux select-layout -t $session even-horizontal