From fc9d38f1412729d7e900f8771cca1c6d1fc1abfb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 08:25:06 +0000 Subject: Ensure we reset the error before re-testing a failure case. --- lib/custodian/protocol-tests/dns.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/custodian/protocol-tests/dns.rb') diff --git a/lib/custodian/protocol-tests/dns.rb b/lib/custodian/protocol-tests/dns.rb index 0adac2f..905abc8 100755 --- a/lib/custodian/protocol-tests/dns.rb +++ b/lib/custodian/protocol-tests/dns.rb @@ -65,6 +65,11 @@ class DNSTest # def run_test + # + # Reset state from previous test. + # + @error = nil + # # Get the nameserver to resolve with # -- cgit v1.2.1