From 86fa943725b5f7565133fd513da8d836f5f9c049 Mon Sep 17 00:00:00 2001 From: Adrian Villin Date: Thu, 8 Aug 2024 08:56:34 +0200 Subject: http_static: make max-age configurable Type: improvement Change-Id: I629add6e3f4219d56610c3785013f69dbe847844 Signed-off-by: Adrian Villin --- test/asf/test_http_static.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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( -- cgit 1.2.3-korg