aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest
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 /src/plugins/unittest
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
Diffstat (limited to 'src/plugins/unittest')
-rw-r--r--src/plugins/unittest/bihash_test.c1
1 files changed, 1 insertions, 0 deletions
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);
}