Test suite: undefined local variable or method `force_new_tor_circuit'
Originally created by @intrigeri on #11386 (Redmine)
I see that:
Scenario: whois(1) should work and go through Tor. # features/torified_misc.feature:21
When I query the whois directory service for "torproject.org" # features/step_definitions/torified_misc.rb:1
undefined local variable or method `force_new_tor_circuit' for #<Object:0x0000000384afc8> (NameError)
./features/support/helpers/misc_helpers.rb:99:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:128:in `call'
./features/support/helpers/misc_helpers.rb:128:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:120:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:119:in `loop'
./features/support/helpers/misc_helpers.rb:119:in `retry_action'
./features/support/helpers/misc_helpers.rb:103:in `retry_tor'
./features/step_definitions/torified_misc.rb:2:in `/^I query the whois directory service for "([^"]+)"$/'
features/torified_misc.feature:22:in `When I query the whois directory service for "torproject.org"'
Apparently 5dae9681 removed
force_new_tor_circuit
, but either it was still used elsewhere, or
there was a race with the merge of another branch that relied on it.