svm: minimal initial fifo
[vpp.git] / src / plugins / unittest / bihash_test.c
index 2dbc6b1..c5cc752 100644 (file)
@@ -244,11 +244,12 @@ test_bihash_threads (bihash_test_main_t * tm)
 /*
  * Callback to blow up spectacularly if anything remains in the table
  */
-static void
+static int
 count_items (BVT (clib_bihash_kv) * kvp, void *notused)
 {
   _clib_error (CLIB_ERROR_ABORT, 0, 0,
               "bihash test FAILED, items left in table!");
+  return (BIHASH_WALK_CONTINUE);
 }
 
 static clib_error_t *
@@ -548,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);
 }