Skip to content

Commit

Permalink
GHA: add temp debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
kanaka committed Mar 18, 2024
1 parent 1ced42f commit a1780c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:

- name: "./run-tests.sh"
timeout-minutes: 5
run: time ./run-tests.sh
run: time VERBOSE=1 ./run-tests.sh
5 changes: 3 additions & 2 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,18 @@ echo " >> Ping the r0 router host from node1"
dc_test node1_1 ping -c1 10.0.0.100

./mdc node1,nodes2
dc_init; dc_wait 10 node2_2 'ip addr | grep "10\.2\.0\.2"' \
dc_init; dc logs; dc_wait 10 node2_2 'ip addr | grep "10\.2\.0\.2"' \
|| die "test4 node1,nodes2 startup failed"
echo " >> From both node2 replicas, ping node1 across the r0 router"
dc_test node2_1 ping -c1 10.1.0.1
dc_test node2_2 ping -c1 10.1.0.1
echo " >> From node1, ping both node2 replicas across the r0 router"
dc_test node1 ping -c1 10.2.0.1
dc_test node1 ping -c1 10.2.0.2
dc logs

./mdc all
dc_init; dc exec -T r0 /scripts/wait.sh -t 10.0.0.100:80 \
dc_init; dc logs; dc exec -T r0 /scripts/wait.sh -t 10.0.0.100:80 \
|| die "test4 all startup failed"
echo " >> From node2, download from the web server in r0"
dc_test node2_1 wget -O- 10.0.0.100
Expand Down

0 comments on commit a1780c0

Please sign in to comment.