prom: test_prom fix 22/41322/1 stable/2406
authorMatus Fabian <[email protected]>
Wed, 24 Jul 2024 13:47:31 +0000 (15:47 +0200)
committerDave Wallace <[email protected]>
Wed, 31 Jul 2024 16:20:13 +0000 (16:20 +0000)
Type: test
Change-Id: I022a3435429976590b8e8e2e1abe924188d1c3f9
Signed-off-by: Matus Fabian <[email protected]>
(cherry picked from commit f95c4d81fcffd15fe2e7af690f8294e7e04d8868)

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(
             [