Skip to content

Commit

Permalink
qa/507: use -h localhost instead of -h $qahost
Browse files Browse the repository at this point in the history
In CI, for some containers, the FQDN we get for the local
hostname is a very long name like:
fv-az1984-647.ddddlmzljshefgqgcv3uanxwgh.cx.internal.cloudapp.net
that fails a DNS lookup or maps to a different interface IP addr
and we can't connect to pmcd there.

For the purposes of this test -h localhost works just as well.
  • Loading branch information
kmcdonell committed Sep 10, 2024
1 parent 432ba60 commit dc75406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qa/507
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ do
echo "=== no args ===" >>$seq.full
pcp 2>&1 | tee -a $seq.full | _filter > $tmp.noargs
statusna=$?
echo "=== -h $qahost args ===" >>$seq.full
pcp -h $qahost 2>&1 | tee -a $seq.full | _filter > $tmp.local
echo "=== -h localhost args ===" >>$seq.full
pcp -h localhost 2>&1 | tee -a $seq.full | _filter > $tmp.local
statusll=$?
export PMCD_HOST=$qahost
echo "=== \$PMCD_HOST=$PMCD_HOST args ===" >>$seq.full
Expand Down

0 comments on commit dc75406

Please sign in to comment.