[tor-commits] [tor/master] Run the download_status_increment test in a forked process.

nickm at torproject.org nickm at torproject.org
Wed Dec 13 00:36:53 UTC 2017


commit 6f3a862966cd09b9feae357ada0ad4d51b51c0ea
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 1 16:06:25 2017 -0500

    Run the download_status_increment test in a forked process.
    
    It messes with global state somehow in a way that makes several of
    the entryconn tests fail now.
---
 src/test/test_dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 78bf23608..0b34e8b33 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -6218,7 +6218,7 @@ struct testcase_t dir_tests[] = {
   DIR(download_status_schedule, 0),
   DIR(download_status_random_backoff, 0),
   DIR(download_status_random_backoff_ranges, 0),
-  DIR(download_status_increment, 0),
+  DIR(download_status_increment, TT_FORK),
   DIR(authdir_type_to_string, 0),
   DIR(conn_purpose_to_string, 0),
   DIR(should_use_directory_guards, 0),





More information about the tor-commits mailing list