Skip to content

Commit a747c1e

Browse files
committed
Update tests.
1 parent 8bc432d commit a747c1e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

test/eval_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ def do_get(url, code, headers):
126126
#
127127
print('[+] Test headers')
128128
loc = BASE_URL + '/eval_headers'
129-
result = post_success(loc, {'params': []}, {'in_h': 1}, default_print_f)
129+
result = post_success(loc, {'params': []}, {'in_h': 1})
130130
print('[+] OK')

test/ngx_confs/tnt_server_test.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ http {
207207

208208
tnt_eval $tnt_status $tnt_res {
209209
tnt_buffer_size 1m;
210+
tnt_out_multiplier 10;
210211
tnt_pass_http_request on parse_args;
211212
tnt_http_rest_methods all;
212213
tnt_method test_eval;
@@ -318,9 +319,9 @@ http {
318319
}
319320

320321
location /eval_headers {
321-
tnt_eval_buffer_size 1m;
322+
tnt_eval_buffer_size 2m;
322323
tnt_eval $tnt_status $tnt_res {
323-
tnt_buffer_size 1m;
324+
tnt_buffer_size 2m;
324325
tnt_pass_http_request on parse_args;
325326
tnt_http_rest_methods all;
326327
tnt_method test_eval_headers;

test/test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ end
143143

144144
function test_eval(req, ...)
145145
local out = {...}
146-
for i = 0, 1801 do
146+
for i = 0, 18012 do
147147
out[i] = i;
148148
end
149149
return

0 commit comments

Comments
 (0)