From 07c742d95b067ab59fca860dfaed9470d0d14357 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 12 Mar 2023 15:57:16 +0100 Subject: test: add more headers to logs --- test/test.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index 12c0c3f..c8839bb 100755 --- a/test/test.sh +++ b/test/test.sh @@ -101,11 +101,18 @@ add_devices() { build_services() { echo ------------------------------------------------------------------ - echo Building + echo Pull third-party images echo ------------------------------------------------------------------ - docker-compose pull api + + echo ------------------------------------------------------------------ + echo Build wg-api-web + echo ------------------------------------------------------------------ docker-compose build --force-rm --progress plain --pull web + + echo ------------------------------------------------------------------ + echo docker-compose up + echo ------------------------------------------------------------------ WG_IFACE=server docker-compose up -d } @@ -120,6 +127,9 @@ run_curl_api() { call_api_method() { local method for method; do + echo ------------------------------------------------------------------ + echo "Checking API method: $method" + echo ------------------------------------------------------------------ run_curl_api -d '{"jsonrpc": "2.0", "method": "'"$method"'", "params": {}}' done } -- cgit v1.2.3