[tor-bugs] #19791 [Metrics/metrics-lib]: Use CollecTor's index.json for download; adapt current download to use new date format

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 29 14:27:21 UTC 2016


#19791: Use CollecTor's index.json for download; adapt current download to use new
date format
---------------------------------+-----------------------------------
 Reporter:  karsten              |          Owner:  iwakeh
     Type:  defect               |         Status:  needs_review
 Priority:  High                 |      Milestone:  metrics-lib 1.4.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by karsten):

 So, I looked a bit more into the tests here, and your suggestion indeed
 fixes the tests.  I suspect that it's because the test files that are
 created with `File#createNewFile()` are empty.  But then I wonder why the
 other tests run without trouble with `w2` and `z2` having non-zero sizes
 in that same `newIndexFile()` method.  I think we'll have to change them
 to zero, too, and we'll have to adapt the
 `testNormalCollectingWithDeletion()` test.  Mind taking a look at the last
 commit in [https://gitweb.torproject.org/user/karsten/metrics-
 lib.git/log/?h=task-19791-2 my updated task-19791-2 branch]?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19791#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list