[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #31331 [Core Tor/sbws]: scanner integration test fails some times because the test Web server is not multi-threaded
#31331: scanner integration test fails some times because the test Web server is
not multi-threaded
-------------------------------+-------------------------------
Reporter: juga | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: sbws: unspecified
Component: Core Tor/sbws | Version: sbws: 1.1.0
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: 1 | Reviewer:
Sponsor: |
-------------------------------+-------------------------------
Because the Python Web server used for the integration tests is not multi-
threaded, some relays' circuits timeout.
Most of the cases, this is desired since in a public network this would
happen too.
It is not desired in the case that the integration test check for a
concrete relay measurement success, which is
`tests/integration/core/test_scanner.py::test_measure_relay_with_maxadvertisedbandwidth`
(https://travis-ci.org/torproject/sbws/jobs/565274602#L1971).
This case can be solved by checking the descriptor bandwidth, not the
measurement.
Ideally, the Python Web server should be changed to be multi-threaded and
shutting down some relays for the cases where the tests check failures.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31331>
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