Skip to content

Commit

Permalink
Wait for 20s after director start
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Jan 10, 2025
1 parent 3a52b9b commit d2f30d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/federated_runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,25 @@ jobs:
fx experimental activate
cd director
nohup ./start_director.sh &> director.log &
sleep 20 # Wait for director to start
- name: Run the envoy Bangalore in background
run: |
lsof -l| grep "localhost:50050"
ps -ef| grep "start_director.sh" | grep -v grep
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
cd Bangalore
nohup ./start_envoy.sh Bangalore Bangalore_config.yaml &> bangalore.log &
- name: Run the envoy Chandler in background
run: |
lsof -l| grep "localhost:50050"
ps -ef| grep "start_director.sh" | grep -v grep
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
cd Chandler
nohup ./start_envoy.sh Chandler Chandler_config.yaml &> chandler.log &
- name: Check if envoys are connected to the director
run: |
ps -ef| grep -e "director start" -e "envoy start"
lsof -l| grep "localhost:50050"
ps -ef| grep -e "start_director.sh" -e "start_envoy.sh" | grep -v grep
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
timeout=60
connected=false
Expand Down

0 comments on commit d2f30d8

Please sign in to comment.