summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/dns.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/dns.rb')
-rwxr-xr-xlib/custodian/protocol-tests/dns.rb5
1 files changed, 5 insertions, 0 deletions
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
@@ -66,6 +66,11 @@ class DNSTest
def run_test
#
+ # Reset state from previous test.
+ #
+ @error = nil
+
+ #
# Get the nameserver to resolve with
#
nameserver = @test_data["target_host"]