Browse Source

Actually, always monotime_init() in the unit tests.

Nick Mathewson 7 years ago
parent
commit
7ef4eef764
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/test/testing_common.c

+ 2 - 0
src/test/testing_common.c

@@ -244,6 +244,8 @@ main(int c, const char **v)
 
   network_init();
 
+  monotime_init();
+
   struct tor_libevent_cfg cfg;
   memset(&cfg, 0, sizeof(cfg));
   tor_libevent_initialize(&cfg);