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 4d13690
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/run_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ test_pycue() {
exit 1
fi

log INFO "$(docker compose ps)"
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}")
rqd_ip=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${rqd_name})
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 +170,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 4d13690

Please sign in to comment.