prom: test_prom fix 95/41295/3
authorMatus Fabian <[email protected]>
Wed, 24 Jul 2024 13:47:31 +0000 (15:47 +0200)
committerDave Wallace <[email protected]>
Wed, 24 Jul 2024 21:14:55 +0000 (21:14 +0000)
Type: test
Change-Id: I022a3435429976590b8e8e2e1abe924188d1c3f9
Signed-off-by: Matus Fabian <[email protected]>
test/asf/test_prom.py

index 3f8fb4c..f536fd1 100644 (file)
@@ -39,6 +39,7 @@ class TestProm(VppAsfTestCase):
         """Enable HTTP Static server and prometheus exporter, get stats"""
         self.vapi.cli("http static server uri tcp://0.0.0.0/80 url-handlers")
         self.vapi.cli("prom enable")
+        self.sleep(1, "wait for min-scrape-interval to expire")
 
         process = subprocess.run(
             [