mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-08 19:54:16 +00:00
test stuff
This commit is contained in:
parent
9ec32e7926
commit
a95ff21aaf
@ -4,6 +4,6 @@
|
||||
|
||||
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
||||
|
||||
pssh -h big-test-hosts -i -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
|
||||
pssh -h big-test-hosts -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
|
||||
|
||||
exit 0
|
||||
|
@ -7,6 +7,6 @@ CONTAINER_IMAGE=zerotier/http-test
|
||||
|
||||
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
||||
|
||||
pssh -h big-test-hosts -o big-test-out -t 0 -p 256 "for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep 0.1; done"
|
||||
pssh -h big-test-hosts -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 600 -p 256 "for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep 0.1; done"
|
||||
|
||||
exit 0
|
||||
|
16922
tests/http/t50k/2015-11-04.out
Normal file
16922
tests/http/t50k/2015-11-04.out
Normal file
File diff suppressed because it is too large
Load Diff
17
tests/http/t50k/big-test-provision.sh
Executable file
17
tests/http/t50k/big-test-provision.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=/home/api/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||
|
||||
# Provision the Big Test(tm) on Digital Ocean using tugboat CLI
|
||||
|
||||
REGIONS="nyc3 ams3 ams2 sfo1 sgp1 lon1 fra1 tor1"
|
||||
PER_REGION=25
|
||||
DROPLET_IMAGE=docker
|
||||
DROPLET_SIZE=16gb
|
||||
SSH_KEY=1543438
|
||||
|
||||
for r in $REGIONS; do
|
||||
for((n=0;n<$PER_REGION;n++)); do
|
||||
tugboat create TEST-${r}-${n}.zerotier.net --size=$DROPLET_SIZE --image=$DROPLET_IMAGE --region=$r --keys=$SSH_KEY
|
||||
done
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user