Skip to content

Commit

Permalink
tests(proxy_wasm) check parallel calls with failing connections
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed May 6, 2024
1 parent b19d405 commit f891485
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions t/03-proxy_wasm/hfuncs/133-proxy_dispatch_http_edge_cases.t
Original file line number Diff line number Diff line change
Expand Up @@ -373,3 +373,26 @@ qr/\A.*? on_request_headers.*
[error]
[crit]
[emerg]



=== TEST 11: proxy_wasm - dispatch_http_call() 2 failing parallel calls
--- valgrind
--- load_nginx_modules: ngx_http_echo_module
--- wasm_modules: hostcalls
--- config
location /t {
proxy_wasm hostcalls 'on=request_headers \
test=/t/dispatch_http_call \
host=127.0.0.1:1 \
path=/bad_port \
ncalls=2';
echo ok;
}
--- error_code: 500
--- no_error_log
[crit]
[emerg]
[alert]
[warn]
[stub]

0 comments on commit f891485

Please sign in to comment.