diff options
author | Adrian Villin <avillin@cisco.com> | 2024-08-08 08:56:34 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-08-20 18:19:12 +0000 |
commit | 86fa943725b5f7565133fd513da8d836f5f9c049 (patch) | |
tree | 5d04d533cc95fcec5710ce39dd42465820fb9017 /test/asf/test_http_static.py | |
parent | 3601b322a010b0c0a83aeec912b224ec97b9c898 (diff) |
http_static: make max-age configurable
Type: improvement
Change-Id: I629add6e3f4219d56610c3785013f69dbe847844
Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'test/asf/test_http_static.py')
-rw-r--r-- | test/asf/test_http_static.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/asf/test_http_static.py b/test/asf/test_http_static.py index 18e8ba56a1e..73a95e992da 100644 --- a/test/asf/test_http_static.py +++ b/test/asf/test_http_static.py @@ -63,11 +63,13 @@ class TestHttpStaticVapi(VppAsfTestCase): "exec", "HttpStatic", "curl", + "-v", f"10.10.1.2/{self.temp.name[5:]}", ], capture_output=True, ) self.assertIn(b"Hello world", process.stdout) + self.assertIn(b"max-age=600", process.stderr) self.temp2.seek(0) process = subprocess.run( |