mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
local-tester: use new bridge flags
This commit is contained in:
parent
07bc71b87c
commit
39f4502cc0
@ -1,14 +1,14 @@
|
||||
# Use goreman to run `go get github.com/mattn/goreman`
|
||||
|
||||
# peer bridges
|
||||
pbridge1: tools/local-tester/bridge/bridge 127.0.0.1:11111 127.0.0.1:12380
|
||||
pbridge2: tools/local-tester/bridge/bridge 127.0.0.1:22222 127.0.0.1:22380
|
||||
pbridge3: tools/local-tester/bridge/bridge 127.0.0.1:33333 127.0.0.1:32380
|
||||
pbridge1: tools/local-tester/bridge.sh 127.0.0.1:11111 127.0.0.1:12380
|
||||
pbridge2: tools/local-tester/bridge.sh 127.0.0.1:22222 127.0.0.1:22380
|
||||
pbridge3: tools/local-tester/bridge.sh 127.0.0.1:33333 127.0.0.1:32380
|
||||
|
||||
# client bridges
|
||||
cbridge1: tools/local-tester/bridge/bridge 127.0.0.1:2379 127.0.0.1:11119
|
||||
cbridge2: tools/local-tester/bridge/bridge 127.0.0.1:22379 127.0.0.1:22229
|
||||
cbridge3: tools/local-tester/bridge/bridge 127.0.0.1:32379 127.0.0.1:33339
|
||||
cbridge1: tools/local-tester/bridge.sh 127.0.0.1:2379 127.0.0.1:11119
|
||||
cbridge2: tools/local-tester/bridge.sh 127.0.0.1:22379 127.0.0.1:22229
|
||||
cbridge3: tools/local-tester/bridge.sh 127.0.0.1:32379 127.0.0.1:33339
|
||||
|
||||
faults: tools/local-tester/faults.sh
|
||||
|
||||
|
16
tools/local-tester/bridge.sh
Executable file
16
tools/local-tester/bridge.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec tools/local-tester/bridge/bridge \
|
||||
-delay-accept \
|
||||
-reset-listen \
|
||||
-conn-fault-rate=0.25 \
|
||||
-immediate-close \
|
||||
-blackhole \
|
||||
-time-close \
|
||||
-write-remote-only \
|
||||
-read-remote-only \
|
||||
-random-blackhole \
|
||||
-corrupt-receive \
|
||||
-corrupt-send \
|
||||
-reorder \
|
||||
$@
|
Loading…
x
Reference in New Issue
Block a user