fixed UDP check in transport integ test
@@ -66,7 +66,7 @@ echo "Testing Cribl/TLS Transport"
if [ "$(wait_for_port 10090)" ]; then
rm -rf /tmp/out/appscope:in_appscope_tls
SCOPE_CRIBL_TLS_CA_CERT_PATH=/tmp/appscope.crt \
- scope run -c tls://localhost:10090 -- curl -Lso /dev/null https://cribl.io
+ scope run -c tls://127.0.0.1:10090 -- curl -Lso /dev/null https://cribl.io
if [ "$(wait_for_files "/tmp/out/appscope:in_appscope_tls/CriblOut-*.json")" ]; then
echo " PASSED"
else
@@ -86,7 +86,7 @@ echo ===========================================================================
echo "Testing Cribl/TCP Transport"
if [ "$(wait_for_port 10091)" ]; then
rm -rf /tmp/out/appscope:in_appscope_tcp
- scope run -c tcp://localhost:10091 -- curl -Lso /dev/null https://cribl.io
+ scope run -c tcp://127.0.0.1:10091 -- curl -Lso /dev/null https://cribl.io
if [ "$(wait_for_files "/tmp/out/appscope:in_appscope_tcp/CriblOut-*.json")" ]; then
echo " PASSED"
else
@@ -106,7 +106,7 @@ echo ===========================================================================
echo "Testing Event/TCP Transport"
if [ "$(wait_for_port 10070)" ]; then
rm -rf /tmp/out/tcpjson:in_tcp_json
- scope run -e tcp://localhost:10070 -- curl -Lso /dev/null https://cribl.io
+ scope run -e tcp://127.0.0.1:10070 -- curl -Lso /dev/null https://cribl.io
if [ "$(wait_for_files "/tmp/out/tcpjson:in_tcp_json/CriblOut-*.json")" ]; then
echo " PASSED"
else
@@ -126,7 +126,7 @@ echo ===========================================================================
echo "Testing Metric/UDP Transport"
if [ "$(wait_for_port 8125)" ]; then
rm -rf /tmp/out/metrics:in_metrics:udp
- scope run -m udp://localhost:8125 -- curl -Lso /dev/null https://cribl.io
+ scope run -m udp://127.0.0.1:8125 --metricformat statsd -- curl -Lso /dev/null https://cribl.io
if [ "$(wait_for_files "/tmp/out/metrics:in_metrics:udp/CriblOut-*.json")" ]; then
echo " PASSED"
else
