summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-12-24 15:25:37 -0500
committerDave Barach <dave@barachs.net>2019-12-24 15:26:05 -0500
commit1decd98e2edab69c3c7d6814d2da483175124dbd (patch)
tree7e32554cb2fcfcda95ba690c0c8994453e5715a3
parentde35cdb7780cf313170397a55f2cef0959e70068 (diff)
unittest: test_bihash call clib_time_init(...)
Fix "Rejecting large frequency change of +infinity" errors. Type: test Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I8efca1291e38c48bb98e7f8109253224a4f0a2a1
-rw-r--r--MAINTAINERS6
-rw-r--r--src/plugins/unittest/bihash_test.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 158d503f6f6..2dad16d69e6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -496,6 +496,12 @@ I: mdata
M: Dave Barach <dave@barachs.net>
F: src/plugins/mdata/
+Plugin - Unit Tests
+I: unittest
+M: Dave Barach <dave@barachs.net>
+M: Florin Coras <fcoras@cisco.com
+F: src/plugins/unittest/
+
Test Infrastructure
I: tests
M: Klement Sekera <ksekera@cisco.com>
diff --git a/src/plugins/unittest/bihash_test.c b/src/plugins/unittest/bihash_test.c
index 03524033884..c5cc752ade0 100644
--- a/src/plugins/unittest/bihash_test.c
+++ b/src/plugins/unittest/bihash_test.c
@@ -549,6 +549,7 @@ bihash_test_init (vlib_main_t * vm)
{
bihash_test_main_t *tm = &bihash_test_main;
+ clib_time_init (&tm->clib_time);
tm->vlib_main = vm;
return (0);
}