diff options
author | David Goulet <dgoulet@torproject.org> | 2021-03-17 11:53:14 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-03-17 11:53:14 -0400 |
commit | 15a95df376f8b8e27072db8d36f28b7054d13cef (patch) | |
tree | f5aac5cd56451b2562e5290aa76300e0855fdab3 /src/test/test_mainloop.c | |
parent | 0ac03390e482a7ff1008f0051ac647114ce00c09 (diff) | |
parent | 066748c9cde058db4c12dec0675c036ac11d7e84 (diff) | |
download | tor-15a95df376f8b8e27072db8d36f28b7054d13cef.tar.gz tor-15a95df376f8b8e27072db8d36f28b7054d13cef.zip |
Merge branch 'tor-gitlab/mr/337'
Diffstat (limited to 'src/test/test_mainloop.c')
-rw-r--r-- | src/test/test_mainloop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_mainloop.c b/src/test/test_mainloop.c index 5af01ed512..ccd3378be5 100644 --- a/src/test/test_mainloop.c +++ b/src/test/test_mainloop.c @@ -231,6 +231,8 @@ test_mainloop_check_participation(void *arg) const time_t start = 1542658829; const time_t ONE_DAY = 24*60*60; + options->DormantTimeoutEnabled = 1; + // Suppose we've been idle for a day or two reset_user_activity(start - 2*ONE_DAY); set_network_participation(true); |