summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-02-05 15:31:17 -0600
committerGitHub <noreply@github.com>2024-02-05 15:31:17 -0600
commitcf1a7ee4599cc70117f208618477c2fb0044bde7 (patch)
tree149586df493b87adac127fe3e133c87af4b2767c
parent630a242cecaefb576513ecdc4e944bfc63515982 (diff)
parente1b63b9b1704a55ccbf75e7131651c85dd318107 (diff)
downloadvyos-1x-cf1a7ee4599cc70117f208618477c2fb0044bde7.tar.gz
vyos-1x-cf1a7ee4599cc70117f208618477c2fb0044bde7.zip
Merge pull request #2937 from jestabro/overhead-advisory-update
T6018: adjust smoketest for update to FastAPI web framework
-rwxr-xr-xsmoketest/scripts/cli/test_service_https.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_service_https.py b/smoketest/scripts/cli/test_service_https.py
index 8d9b8459e..94eade2d7 100755
--- a/smoketest/scripts/cli/test_service_https.py
+++ b/smoketest/scripts/cli/test_service_https.py
@@ -19,6 +19,7 @@ import json
from requests import request
from urllib3.exceptions import InsecureRequestWarning
+from time import sleep
from base_vyostest_shim import VyOSUnitTestSHIM
from base_vyostest_shim import ignore_warning
@@ -305,6 +306,7 @@ class TestHTTPSService(VyOSUnitTestSHIM.TestCase):
self.cli_set(base_path + ['api', 'keys', 'id', 'key-01', 'key', key])
self.cli_commit()
+ sleep(2)
r = request('POST', url, verify=False, headers=headers, data=payload)
# api configured; expect 200