There was an error while loading. Please reload this page.
1 parent a3dfbf5 commit 3901c0eCopy full SHA for 3901c0e
tests/agent.bats
@@ -85,7 +85,9 @@ setup() {
85
SAMPLE_PID=$!
86
sleep 2
87
88
- check_port=$(cat register.port | grep -a 7888)
+ info register.port: `cat register.port`
89
+ check_port=$(cat register.port | grep -a -Z 7888)
90
+ info check_port: `echo $check_port`
91
[ "$check_port" != "" ]
92
93
kill -9 $SAMPLE_PID
@@ -101,7 +103,7 @@ setup() {
101
103
[ -e './simple-agent_profile_listen_addr' ]
102
104
host=$(cat ./simple-agent_profile_listen_addr)
105
- check_port=$(cat register.port | grep $host)
106
+ check_port=$(cat register.port | grep -a -Z $host)
107
108
109
0 commit comments