mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use {mock,unmock}_hostname_resolver() in relevant tests
These tests all invoke the hostname resolver in one way or another, and therefore potentially block if our DNS server is missing, absent, or extremely slow. Closes ticket 31841.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
o Minor features (testing):
|
||||
- When running tests that attempt to look up hostname, replace the libc
|
||||
name lookup functions with ones that do not actually touch the network.
|
||||
This way, the tests complete more quickly in the presence of a slow or
|
||||
missing DNS resolver. Closes ticket 31841.
|
||||
Reference in New Issue
Block a user