[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 6f3a862966cd09b9feae357ada0ad4d51b51c0ea
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits