Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

test_measurement.py fails #94

@juga0

Description

@juga0

Test fails running tox with ./chutney start networks/basic-025

[ERROR]
Traceback (most recent call last):
  File "/home/travis/build/juga0/bwscanner/test/test_measurement.py", line 68, in <lambda>
    scan.addCallback(lambda _: check_all_routers_measured(self.tmp))
  File "/home/travis/build/juga0/bwscanner/test/test_measurement.py", line 64, in check_all_routers_measured
    assert measured_relays == all_relays
exceptions.AssertionError: 
test.test_measurement.TestBwscan.test_scan_chutney

It might have to do with the algorithm used to choose the path [0]. Chutney creates less than 25 relays and the slice is 50.

[0] https://github.com/TheTorProject/bwscanner/blob/develop/bwscanner/circuit.py#L101

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions