[tor-bugs] #30858 [Core Tor/Tor]: Load geoip and geoip6 files during the unit tests
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 12 08:30:49 UTC 2019
#30858: Load geoip and geoip6 files during the unit tests
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Minor | Resolution:
Keywords: technical-debt, geoip, fast-fix?, | Actual Points:
easy? |
Parent ID: | Points: 0.5
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by karsten):
Replying to [ticket:30858 teor]:
> Maybe karsten can tell us how much the number of entries in the geoip
files varies?
Sure!
[[Image(geoip-line-counts.png, 600px)]]
Looks like a static expected line count wouldn't last forever, but it
would certainly be useful to have such a +/- 25% sanity check. I can run
tests whenever I update files and include a note that the expected line
count requires an update.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30858#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list