diff options
author | Florin Coras <fcoras@cisco.com> | 2023-03-06 09:46:11 -0800 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2023-03-06 11:16:19 -0800 |
commit | 87767d82d77b75e8b7bc5da11c94f29cb035ed47 (patch) | |
tree | 644e2a07356d456885254f4d729cfac736a6bce8 /extras/hs-test/script/nginx_ldp.sh | |
parent | 2d3da8054bab654f36c26a04557c073b12594530 (diff) |
hs-test: nginx mirroring test improvements
- avoid setting LD_PRELOAD for container
- save nginx error log to shared volume
- reduce test run time to 10s
- add vcl and ldp debug env variables to docker file. Default to
disabled.
Type: test
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I401ac74e7c0ebe87befedb44150b04f773f244ea
Diffstat (limited to 'extras/hs-test/script/nginx_ldp.sh')
-rwxr-xr-x | extras/hs-test/script/nginx_ldp.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/hs-test/script/nginx_ldp.sh b/extras/hs-test/script/nginx_ldp.sh new file mode 100755 index 00000000000..90146f61443 --- /dev/null +++ b/extras/hs-test/script/nginx_ldp.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +LD_PRELOAD=$LDP nginx $@ 2>&1 > /proc/1/fd/1 |