#4051 closed defect (fixed)

The `tor_introducer` fixture should wait for the `tor_network` fixture

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

tor_network uses chutney to set up a local Tor network for the integration tests. tor_introducer creates an introducer node that should be reachable over Tor, using the local Tor network.

Since tor_introducer has no dependency on tor_network, nothing guarantees pytest will create the Tor network before it tries (and fails) to create the Tor-using introducer node.

Maybe this is why the Tor integration tests seem to randomly fail.

Change History (1)

comment:1 Changed at 2023-07-22T23:00:48Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In cc27ab0b/trunk:

Merge pull request #1318 from exarkun/4051.tor-network-fixture-dependency

Add "Tor network" dependency to a fixture that needs it

Fixes: ticket:4051

Note: See TracTickets for help on using tickets.