[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #21799 [Core Tor/Tor]: Unittest fail: FAIL ../tor/src/test/test_entrynodes.c:618: assert(smartlist_len(gs_br->sampled_entry_guards) OP_EQ 2): 1 vs 2
#21799: Unittest fail: FAIL ../tor/src/test/test_entrynodes.c:618:
assert(smartlist_len(gs_br->sampled_entry_guards) OP_EQ 2): 1 vs 2
--------------------------+------------------------------------
Reporter: asn | Owner:
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-guard | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by nickm_mobile):
As an alternative fix, we could make the test set our view of the current
time with update_approx_time(), so that the test runs 100 days ago
forever. (We might need corresponding changes to entrynodes.c or
bridges.c to look at approx_time() rather than time(NULL).)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21799#comment:2>
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