From 72aa06d465691127962ef4bc3ce236e5c30da74d Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Thu, 5 Dec 2024 14:33:40 +0200 Subject: [PATCH] Fix UI process ID (#1926) Co-authored-by: Alon Braymok <138359965+alonkeyval@users.noreply.github.com> Co-authored-by: Tamir David Co-authored-by: Tamir David Co-authored-by: Amir Blum Co-authored-by: Ron Federman <73110295+RonFed@users.noreply.github.com> Co-authored-by: yodigos Co-authored-by: Mike Dame Co-authored-by: alonbraymok Co-authored-by: Daria Dovzhikova Co-authored-by: David <65228999+david336362@users.noreply.github.com> Co-authored-by: David Co-authored-by: Eden Federman --- tests/common/odigos_ui.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/common/odigos_ui.sh b/tests/common/odigos_ui.sh index fb48af7c4..bf187c67b 100755 --- a/tests/common/odigos_ui.sh +++ b/tests/common/odigos_ui.sh @@ -75,9 +75,10 @@ function start() { # Start the production build echo "Odigos UI - ⏳ Starting..." - yarn back:start > /dev/null 2> "$log_file" & + cd .. + ./odigos-backend --port 8085 --debug --address 0.0.0.0 > /dev/null 2> "$log_file" & - sleep 3 + sleep 1 echo $! > "$pid_file" pid=$(get_process_id "$pid_file") check_process $pid