From f9f16788e980b36c37e2a786bc50cab698e59933 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Nov 2022 18:24:10 +0100 Subject: test: rename peers --- test/test.sh | 18 ++++++++++-------- 1 file 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() { -- cgit v1.2.3