prom: test_prom fix

Type: test
Change-Id: I022a3435429976590b8e8e2e1abe924188d1c3f9
Signed-off-by: Matus Fabian <matfabia@cisco.com>
(cherry picked from commit f95c4d81fcffd15fe2e7af690f8294e7e04d8868)
This commit is contained in:
Matus Fabian 2024-07-24 15:47:31 +02:00 committed by Dave Wallace
parent a095e37d2a
commit cd30ea1ddf

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