From 13182fcda2f6792f79b61b3cf5a32d81b3e9557a Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 28 Feb 2023 16:31:17 -0500 Subject: [PATCH] refactor automated testing inputs due to streamlined setup process --- setup/so-setup | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 9f386c4a6..440965ca1 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -181,8 +181,10 @@ if [ -n "$test_profile" ]; then # The below settings are hardcoded purely for automated testing purposes. TESTING=true - if [[ "$test_profile" =~ "-sensor-" || "$test_profile" =~ "-search-" ]]; then - HOSTNAME=$test_profile + if [[ "$test_profile" =~ "-sensor-" ]]; then + HOSTNAME=sensor + elif [[ "$test_profile" =~ "-search-" ]]; then + HOSTNAME=search else HOSTNAME=manager fi