summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/http.rb')
-rwxr-xr-xlib/custodian/protocol-tests/http.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/custodian/protocol-tests/http.rb b/lib/custodian/protocol-tests/http.rb
index c7910c5..3f2ec8d 100755
--- a/lib/custodian/protocol-tests/http.rb
+++ b/lib/custodian/protocol-tests/http.rb
@@ -59,6 +59,11 @@ class HTTPTest
def run_test
#
+ # Reset state from previous test.
+ #
+ @error = nil
+
+ #
# Do the fetch, if this success then we'll have the
# @status + @text setup
#