STATS: Update Prometheus port
Update temporary port allocation with fixed allocated from: https://github.com/prometheus/prometheus/wiki/Default-port-allocations Change-Id: I99a7e069fb95d00884458aeacaba06e4713fbb76 Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
#include <ctype.h>
|
||||
|
||||
/* https://github.com/prometheus/prometheus/wiki/Default-port-allocations */
|
||||
#define SERVER_PORT 9477
|
||||
#define SERVER_PORT 9482
|
||||
|
||||
static char *
|
||||
prom_string (char *s)
|
||||
|
@ -390,8 +390,8 @@ class VppTestCase(unittest.TestCase):
|
||||
else:
|
||||
hook = PollHook(cls)
|
||||
cls.vapi.register_hook(hook)
|
||||
cls.statistics = VPPStats(socketname=cls.tempdir+'/stats.sock')
|
||||
cls.sleep(0.1, "after vpp startup, before initial poll")
|
||||
cls.statistics = VPPStats(socketname=cls.tempdir+'/stats.sock')
|
||||
try:
|
||||
hook.poll_vpp()
|
||||
except VppDiedError:
|
||||
|
Reference in New Issue
Block a user