Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares committed Jun 20, 2024
1 parent 70b51e8 commit 6910925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/run_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ test_pycue() {
exit 1
fi

rqd_name=$(docker compose ps --format json | jq -s '.[] | select(.Service=="rqd") | .Name')
rqd_ip=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "${rqd_name}")
log INFO "$(docker ps)"
rqd_ip=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' opencue-rqd-1)
want_hosts="['${rqd_ip}']"
got_hosts=$(python -c 'import opencue; print([host.name() for host in opencue.api.getHosts()])')
if [[ "${got_hosts}" = "${want_hosts}" ]]; then
Expand All @@ -169,7 +169,7 @@ test_cueadmin() {
exit 1
fi

rqd_name=$(docker compose ps --format json | jq -s '.[] | select(.Service=="rqd") | .Name')
rqd_name=$(docker compose ps --format json | jq -s '.[] | select(.Service=="rqd") | .Name')
want_host=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "${rqd_name}")
lh_response=$(cueadmin -lh)
got_host=$(echo "${lh_response}" | tail -n 1 | cut -d ' ' -f 1)
Expand Down

0 comments on commit 6910925

Please sign in to comment.