grntest 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +6 -0
- data/lib/grntest/executors/http-executor.rb +9 -1
- data/lib/grntest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f74f96285e7ff0f9537ae2165f7fba29a9fb705a686e98f1281f7203b46521c5
|
4
|
+
data.tar.gz: 89d86885e7b67cb0f98312856be0ed6cbb2f0264a4ba281fe8ca542f06e39dad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6964575dd5fd1e3ec6160416795e10f6ac720f7bedee4413167196b055278f0196dac8dc017f620843c485cb4277ee20dbebddc0ab5ce3a242577d0008214f3
|
7
|
+
data.tar.gz: 4ab4f3f9925b14ef915eb781e0a02e53d1039549b035b830f51a0016f421fb31372631d8398824bb41563bc50b966eca7ad67916e2ef660123e0672235de9080
|
data/doc/text/news.md
CHANGED
@@ -79,7 +79,15 @@ module Grntest
|
|
79
79
|
LOAD_DEBUG = (DEBUG or (ENV["GRNTEST_HTTP_LOAD_DEBUG"] == "yes"))
|
80
80
|
|
81
81
|
def check_response(response)
|
82
|
-
response
|
82
|
+
case response
|
83
|
+
when Net::HTTPBadRequest,
|
84
|
+
Net::HTTPNotFound
|
85
|
+
# Groonga returns them for an invalid request.
|
86
|
+
when Net::HTTPInternalServerError
|
87
|
+
# Groonga returns this for an internal error.
|
88
|
+
else
|
89
|
+
response.value
|
90
|
+
end
|
83
91
|
end
|
84
92
|
|
85
93
|
MAX_URI_SIZE = 4096
|
data/lib/grntest/version.rb
CHANGED