You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
Currently in the develop branch we have a couple of integration test classes set to be skipped because these tests contain race conditions. The race condition has to do with not sending enough cells over a circuit to make a proper bandwidth estimate because the circuit is closed too quickly after sending the entire test payload.
btw i am calling them integration tests since they require chutney instead of utilizing mock patterns.
The text was updated successfully, but these errors were encountered:
The problem is not that it doesn't send enough cells, its because the test payload transmission does not take long enough. The Tor control port only emits bandwidth events approx. once per second. We need to make sure the payload transmission takes at least a couple of seconds in order to ensure we have enough measurements to perform the bandwidth calculations.
I don't thing that bug is causing an issue in this case. Size is always set to 1, so the call offset+1 and offset+size are equivalent. It should be fixed in case we are using different sized chunks in future.
StreamBandwidthListener() is currently not being used for generating measurements. It is just included in test_listener.py. As the tests for this code don't pass, I think that this code and tests should be removed for now. PR in #21
Currently in the develop branch we have a couple of integration test classes set to be skipped because these tests contain race conditions. The race condition has to do with not sending enough cells over a circuit to make a proper bandwidth estimate because the circuit is closed too quickly after sending the entire test payload.
btw i am calling them integration tests since they require chutney instead of utilizing mock patterns.
The text was updated successfully, but these errors were encountered: