From b44e644f9e9cf5851117b5f62a8f62c35d70a23c Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Wed, 1 Mar 2023 08:26:22 -0600 Subject: [PATCH] fix(scripts): pass protocol and port to all test scripts --- api/scripts/test-memory-leak.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/scripts/test-memory-leak.sh b/api/scripts/test-memory-leak.sh index 41953b4c5..e1ca5f1f8 100755 --- a/api/scripts/test-memory-leak.sh +++ b/api/scripts/test-memory-leak.sh @@ -1,9 +1,9 @@ -test_host="${1:-127.0.0.1}" +test_host="${1:-'http://127.0.0.1:5000'}" test_images=0 while true; do - curl "http://${test_host}:5000/api/txt2img?"\ + curl "${test_host}/api/txt2img?"\ 'cfg=16.00&steps=3&scheduler=ddim&seed=-1&'\ 'prompt=an+astronaut+eating+a+hamburger&negativePrompt=&'\ 'model=stable-diffusion-onnx-v1-5&platform=any&'\