aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-11-28 18:24:10 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-11-28 18:24:10 +0100
commitf9f16788e980b36c37e2a786bc50cab698e59933 (patch)
treeef874f71be2bfb250da04605e6903a2eb7af3d8e
parentadd README.md (diff)
downloadwg-api-web-f9f16788e980b36c37e2a786bc50cab698e59933.tar.gz
wg-api-web-f9f16788e980b36c37e2a786bc50cab698e59933.zip
test: rename peers
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/test.sh b/test/test.sh
index f7509ca..78aa164 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -85,14 +85,16 @@ show_device() {
}
add_devices() {
- add_device peer1
- add_device peer2
- add_device peer3
- connect_devices peer1 peer2
- connect_devices peer1 peer3
- up_device peer1 peer2 peer3
+ add_device server
+ add_device client1
+ add_device client2
+ add_device client3
+ connect_devices server client1
+ connect_devices server client2
+ connect_devices server client3
+ up_device server client1 client2 client3
sleep 2
- show_device peer1 peer2 peer3
+ show_device server client1 client2 client3
}
build_services() {
@@ -102,7 +104,7 @@ build_services() {
docker-compose pull api
docker-compose build --force-rm --pull web
- WG_IFACE=peer1 docker-compose up -d
+ WG_IFACE=server docker-compose up -d
}
run_curl() {