aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 22:26:09 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 22:26:09 +0100
commit992fff722380bae3b0c56c26aa04fce9728bee31 (patch)
treec2280812bab1c9b8fdd6bfe3d64c142d095b2158 /test
parenttest/linuxserver: add a peer service (diff)
downloadwg-api-web-992fff722380bae3b0c56c26aa04fce9728bee31.tar.gz
wg-api-web-992fff722380bae3b0c56c26aa04fce9728bee31.zip
test: increase timeouts
Diffstat (limited to 'test')
-rwxr-xr-xtest/host/test.sh2
-rwxr-xr-xtest/linuxserver/test.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/host/test.sh b/test/host/test.sh
index 0e497bc..0088fba 100755
--- a/test/host/test.sh
+++ b/test/host/test.sh
@@ -93,7 +93,7 @@ add_devices() {
connect_devices server client2
connect_devices server client3
up_device server client1 client2 client3
- sleep 2
+ sleep 5
show_device server client1 client2 client3
}
diff --git a/test/linuxserver/test.sh b/test/linuxserver/test.sh
index 83d6a8c..220d215 100755
--- a/test/linuxserver/test.sh
+++ b/test/linuxserver/test.sh
@@ -40,6 +40,8 @@ build_services() {
echo docker-compose up
echo ------------------------------------------------------------------
docker-compose up -d
+
+ sleep 5
}
ping_server() {
@@ -67,7 +69,6 @@ main() {
exit 1
fi
build_services
- sleep 3
ping_server
"$script_dir/../check_web.sh"
}