[tor-bugs] #31841 [Core Tor/Tor]: test addr/parse takes a long time on master on some machines
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 2 23:07:53 UTC 2019
#31841: test addr/parse takes a long time on master on some machines
-------------------------------------+------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.4.2.x-final
Component: Core Tor/Tor | Version: Tor: unspecified
Severity: Normal | Resolution:
Keywords: tor-unit-tests 042-must | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+------------------------------------
Comment (by nickm):
I think the solution here is, if the test does any hostname lookups, to
mock out the lowest-level getaddrinfo or gethostbyname function, so that
we aren't going out to the network from this test.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31841#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list