|
@@ -289,8 +289,6 @@ test_channelpadding_timers(void *arg)
|
|
channel_t *chans[CHANNELS_TO_TEST];
|
|
channel_t *chans[CHANNELS_TO_TEST];
|
|
(void)arg;
|
|
(void)arg;
|
|
|
|
|
|
- tor_libevent_postfork();
|
|
|
|
-
|
|
|
|
if (!connection_array)
|
|
if (!connection_array)
|
|
connection_array = smartlist_new();
|
|
connection_array = smartlist_new();
|
|
|
|
|
|
@@ -393,7 +391,6 @@ test_channelpadding_killonehop(void *arg)
|
|
channelpadding_decision_t decision;
|
|
channelpadding_decision_t decision;
|
|
int64_t new_time;
|
|
int64_t new_time;
|
|
(void)arg;
|
|
(void)arg;
|
|
- tor_libevent_postfork();
|
|
|
|
|
|
|
|
routerstatus_t *relay = tor_malloc_zero(sizeof(routerstatus_t));
|
|
routerstatus_t *relay = tor_malloc_zero(sizeof(routerstatus_t));
|
|
monotime_init();
|
|
monotime_init();
|
|
@@ -502,8 +499,6 @@ test_channelpadding_consensus(void *arg)
|
|
int64_t new_time;
|
|
int64_t new_time;
|
|
(void)arg;
|
|
(void)arg;
|
|
|
|
|
|
- tor_libevent_postfork();
|
|
|
|
-
|
|
|
|
|
|
|
|
* Params tested:
|
|
* Params tested:
|
|
* nf_pad_before_usage
|
|
* nf_pad_before_usage
|
|
@@ -898,8 +893,6 @@ test_channelpadding_decide_to_pad_channel(void *arg)
|
|
connection_array = smartlist_new();
|
|
connection_array = smartlist_new();
|
|
(void)arg;
|
|
(void)arg;
|
|
|
|
|
|
- tor_libevent_postfork();
|
|
|
|
-
|
|
|
|
monotime_init();
|
|
monotime_init();
|
|
monotime_enable_test_mocking();
|
|
monotime_enable_test_mocking();
|
|
monotime_set_mock_time_nsec(1);
|
|
monotime_set_mock_time_nsec(1);
|