| varnishtest "Lua: txn:get_priv() scope" |
| #REQUIRE_OPTIONS=LUA,OPENSSL |
| feature ignore_unknown_macro |
| # WT: limit false-positives causing "HTTP header incomplete" due to |
| # idle server connections being randomly used and randomly expiring |
| tune.idle-pool.shared off |
| lua-load-per-thread ${testdir}/txn_get_priv.lua |
| lua-load-per-thread ${testdir}/txn_get_priv-print_r.lua |
| bind ":8443" ssl crt ${testdir}/common.pem |
| http-request use-service lua.fakeserv |
| client c0 -repeat 4 -connect ${h1_fe1_sock} { |
| expect resp.status == 200 |
| expect resp.status == 200 |
| client c1 -repeat 4 -connect ${h1_fe1_sock} { |
| expect resp.status == 200 |
| expect resp.status == 200 |
| client c2 -repeat 4 -connect ${h1_fe1_sock} { |
| expect resp.status == 200 |
| expect resp.status == 200 |
| client c3 -repeat 4 -connect ${h1_fe1_sock} { |
| expect resp.status == 200 |
| expect resp.status == 200 |