Retry whois request on "WHOIS LIMIT EXCEEDED"
I’ve seen:
Scenario: whois(1) should work and go through Tor. # features/torified_misc.feature:29
When I query the whois directory service for "torproject.org" # features/step_definitions/torified_misc.rb:1
Then the whois command is successful # features/step_definitions/torified_misc.rb:17
Then the whois standard output contains "The Tor Project" # features/step_definitions/torified_misc.rb:27
The whois standard output does not contain The Tor Project:
WHOIS LIMIT EXCEEDED - SEE WWW.PIR.ORG/WHOIS FOR DETAILS
.
<nil> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/torified_misc.rb:29:in `/^the (wget|whois) standard output contains "([^"]+)"$/'
features/torified_misc.feature:32:in `Then the whois standard output contains "The Tor Project"'
I guess that this means that the exit node’s IP has made too many whois requests to that server => we should switch circuits and retry.
Feature Branch: kytv:test/9668-whois
Parent Task: #9515 (closed)
Related issues
-
Blocked by #9518 (closed)
Original created by @intrigeri on 9668 (Redmine)