From f4fae57baaa83036379cfd04ec9e6af03a6847eb Mon Sep 17 00:00:00 2001 From: lo-simon Date: Mon, 9 Oct 2023 12:21:58 +0100 Subject: [PATCH] Extend the HTTP_TIMEOUT to identify the case of the mock jwks endpoint not responding --- .github/workflows/build-test.yml | 4 ++-- .github/workflows/src/amwa-test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index e0118a265..9540e66df 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -345,7 +345,7 @@ jobs: cd nmos-testing # Configure the Testing Tool so all APIs are tested with TLS and authorization - printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\n" > nmostesting/UserConfig.py + printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\nCONFIG.HTTP_TIMEOUT = 100\n" > nmostesting/UserConfig.py # Set the DNS-SD mode printf 'CONFIG.DNS_SD_MODE = "'${{ matrix.dns_sd_mode }}'"\n' >> nmostesting/UserConfig.py # Set the client JWKS_URI for mock Authorization Server to obtain the client JSON Web Key Set (public keys) to verify the client_assertion, when the client is requesting the access token @@ -874,7 +874,7 @@ jobs: cd nmos-testing # Configure the Testing Tool so all APIs are tested with TLS and authorization - printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\n" > nmostesting/UserConfig.py + printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\nCONFIG.HTTP_TIMEOUT = 100\n" > nmostesting/UserConfig.py # Set the DNS-SD mode printf 'CONFIG.DNS_SD_MODE = "'${{ matrix.dns_sd_mode }}'"\n' >> nmostesting/UserConfig.py # Set the client JWKS_URI for mock Authorization Server to obtain the client JSON Web Key Set (public keys) to verify the client_assertion, when the client is requesting the access token diff --git a/.github/workflows/src/amwa-test.yml b/.github/workflows/src/amwa-test.yml index fb698b364..9783b504e 100644 --- a/.github/workflows/src/amwa-test.yml +++ b/.github/workflows/src/amwa-test.yml @@ -20,7 +20,7 @@ cd nmos-testing # Configure the Testing Tool so all APIs are tested with TLS and authorization - printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\n" > nmostesting/UserConfig.py + printf "from . import Config as CONFIG\nCONFIG.ENABLE_HTTPS = True\nCONFIG.ENABLE_AUTH = True\nCONFIG.MOCK_SERVICES_WARM_UP_DELAY = 30\nCONFIG.HTTP_TIMEOUT = 100\n" > nmostesting/UserConfig.py # Set the DNS-SD mode printf 'CONFIG.DNS_SD_MODE = "'${{ matrix.dns_sd_mode }}'"\n' >> nmostesting/UserConfig.py # Set the client JWKS_URI for mock Authorization Server to obtain the client JSON Web Key Set (public keys) to verify the client_assertion, when the client is requesting the access token