Browse Source

test: configure advertise ports in functional_pass

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 years ago
parent
commit
5960c7519f
1 changed files with 5 additions and 3 deletions
  1. 5 3
      test

+ 5 - 3
test

@@ -126,10 +126,12 @@ function functional_pass {
 	echo "Starting 'etcd-tester'"
 	echo "Starting 'etcd-tester'"
 	./bin/etcd-tester \
 	./bin/etcd-tester \
 		-agent-endpoints "127.0.0.1:19027,127.0.0.1:29027,127.0.0.1:39027" \
 		-agent-endpoints "127.0.0.1:19027,127.0.0.1:29027,127.0.0.1:39027" \
-		-client-ports 12379,22379,32379 \
-		-peer-ports 12380,22380,32380 \
+		-client-ports 1379,2379,3379 \
+		-advertise-client-ports 13790,23790,33790 \
+		-peer-ports 1380,2380,3380 \
+		-advertise-peer-ports 13800,23800,33800 \
 		-limit 1 \
 		-limit 1 \
-		-schedule-cases "0 1 2 3 4 5" \
+		-schedule-cases "0 1 2 3 4 5 6 7 8 9" \
 		-stress-qps 1000 \
 		-stress-qps 1000 \
 		-stress-key-txn-count 100 \
 		-stress-key-txn-count 100 \
 		-stress-key-txn-ops 10 \
 		-stress-key-txn-ops 10 \