We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc91985 commit a4b7659Copy full SHA for a4b7659
1 file changed
test_e2e.sh
@@ -165,7 +165,7 @@ function docker_ip() {
165
echo "usage: $0 <id>"
166
return 1
167
fi
168
- docker inspect "$1" | jq -r .[0].NetworkSettings.IPAddress
+ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$1"
169
}
170
171
function docker_kill() {
@@ -1887,12 +1887,14 @@ function e2e::sync_depth_change_on_restart() {
1887
##############################################
1888
function e2e::auth_http_password() {
1889
# Run a git-over-HTTP server.
1890
+ set -x
1891
local ctr
1892
ctr=$(docker_run \
1893
-v "$REPO":/git/repo:ro \
1894
e2e/test/httpd)
1895
local ip
1896
ip=$(docker_ip "$ctr")
1897
+ sleep 30
1898
1899
# Try with wrong username
1900
assert_fail \
0 commit comments