Browse Source

set different api ports so they dont conlict

Alex Cheema 1 year ago
parent
commit
8efd656303
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/test.yml

+ 2 - 2
.github/workflows/test.yml

@@ -37,11 +37,11 @@ jobs:
     - name: Run integration test
     - name: Run integration test
       run: |
       run: |
         # Start first instance
         # Start first instance
-        DEBUG_DISCOVERY=9 DEBUG=9 python3 main.py --listen-port 5678 --broadcast-port 5679 > output1.log 2>&1 &
+        DEBUG_DISCOVERY=9 DEBUG=9 python3 main.py --listen-port 5678 --broadcast-port 5679 --chatgpt-api-port 8000 > output1.log 2>&1 &
         PID1=$!
         PID1=$!
 
 
         # Start second instance
         # Start second instance
-        DEBUG_DISCOVERY=9 DEBUG=9 python3 main.py --listen-port 5679 --broadcast-port 5678 > output2.log 2>&1 &
+        DEBUG_DISCOVERY=9 DEBUG=9 python3 main.py --listen-port 5679 --broadcast-port 5678 --chatgpt-api-port 8001 > output2.log 2>&1 &
         PID2=$!
         PID2=$!
 
 
         # Wait for discovery
         # Wait for discovery