[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #30902 [Core Tor/sbws]: Stop comparing file_created key in test



#30902: Stop comparing file_created key in test
---------------------------+-----------------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws: unspecified
Component:  Core Tor/sbws  |        Version:  sbws: 1.1.0
 Severity:  Normal         |     Resolution:
 Keywords:  ci, tests      |  Actual Points:
Parent ID:                 |         Points:  1
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by teor):

 Replying to [ticket:30902 juga]:
 > In concrete tests/unit/lib/v3bwfile.py::test_from_results_read.
 > Because some times it files with the second: https://travis-
 ci.org/juga0/sbws/jobs/546378459#L1339.

 One way to fix this bug is to pass a time to the bandwidth file creation
 function.
 Or mock the time that the bandwidth file creation function uses in the
 bandwidth file.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30902#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs