diff options
Diffstat (limited to 'test/functional/lua/http.lua')
-rw-r--r-- | test/functional/lua/http.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/lua/http.lua b/test/functional/lua/http.lua index 44a6c6fd3..0c1eff8ba 100644 --- a/test/functional/lua/http.lua +++ b/test/functional/lua/http.lua @@ -43,12 +43,15 @@ local function http_symbol(task) timeout = 1, }) + rspamd_logger.errx(task, 'rspamd_http.request[before]') + local err, response = rspamd_http.request({ url = 'http://127.0.0.1:18080' .. url, task = task, method = method, timeout = 1, }) + rspamd_logger.errx(task, 'rspamd_http.request[done] err: %1 response:%2', err, response) if not err then task:insert_result('HTTP_CORO_' .. response.code, 1.0, response.content) |