File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ function docker_ip() {
165165 echo " usage: $0 <id>"
166166 return 1
167167 fi
168- docker inspect " $1 " | jq -r .[0]. NetworkSettings.IPAddress
168+ docker inspect --format= ' {{range . NetworkSettings.Networks}}{{. IPAddress}}{{end}} ' " $1 "
169169}
170170
171171function docker_kill() {
@@ -1887,12 +1887,14 @@ function e2e::sync_depth_change_on_restart() {
18871887# #############################################
18881888function e2e::auth_http_password() {
18891889 # Run a git-over-HTTP server.
1890+ set -x
18901891 local ctr
18911892 ctr=$( docker_run \
18921893 -v " $REPO " :/git/repo:ro \
18931894 e2e/test/httpd)
18941895 local ip
18951896 ip=$( docker_ip " $ctr " )
1897+ sleep 30
18961898
18971899 # Try with wrong username
18981900 assert_fail \
You can’t perform that action at this time.
0 commit comments