mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 13:34:59 +02:00
test/circuitbuid: Fix new_route_len_unhandled_exit
Make test_new_route_len_unhandled_exit more robust, by always tearing down logs. (Rather than just tearing them down on success.)
This commit is contained in:
parent
3334f63516
commit
7261078566
@ -133,10 +133,10 @@ test_new_route_len_unhandled_exit(void *arg)
|
||||
"!(exit_ei && !known_purpose)");
|
||||
expect_single_log_msg_containing("Unhandled purpose");
|
||||
expect_single_log_msg_containing("with a chosen exit; assuming routelen");
|
||||
teardown_capture_of_logs();
|
||||
tor_end_capture_bugs_();
|
||||
|
||||
done:
|
||||
teardown_capture_of_logs();
|
||||
tor_end_capture_bugs_();
|
||||
UNMOCK(count_acceptable_nodes);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user