[object Object]

← back to Exo

test kill pids

dcb3ac76a81b273771707c1c1caba5417dfbe74e · 2024-09-04 14:21:29 +0100 · Alex Cheema

Files touched

Diff

commit dcb3ac76a81b273771707c1c1caba5417dfbe74e
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Wed Sep 4 14:21:29 2024 +0100

    test kill pids
---
 test/reconnect.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/reconnect.sh b/test/reconnect.sh
index 9aa80fc6..c1d7a663 100755
--- a/test/reconnect.sh
+++ b/test/reconnect.sh
@@ -12,5 +12,6 @@ sleep 5
 kill $PID2
 sleep 5
 echo "Starting node 2 again..."
-DEBUG_DISCOVERY=7 DEBUG=7 python3 main.py --inference-engine <<parameters.inference_engine>> --node-id "node2" --listen-port 5679 --broadcast-port 5678 --chatgpt-api-port 8001 --chatgpt-api-response-timeout-secs 900 > output2.log 2>&1 &
-kill $PID1
\ No newline at end of file
+DEBUG_DISCOVERY=7 DEBUG=7 python3 main.py --node-id "node2" --listen-port 5679 --broadcast-port 5678 --chatgpt-api-port 8001 --chatgpt-api-response-timeout-secs 900 > output3.log 2>&1 &
+PID2=$!
+kill $PID2
\ No newline at end of file

← 3dd81a1e fix UDPDiscovery params, create a new transport every time w  ·  back to Exo  ·  add back listen and cleanup tasks 8114a79e →