Skip to content

Commit 94ce78a

Browse files
authored
Merge pull request ceph#59072 from lxbsz/wip-66991
qa: increase the http.maxRequestBuffer to 100MB and enable the git debug logs Reviewed-by: Venky Shankar <[email protected]>
2 parents a3cf842 + b6f8f83 commit 94ce78a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

qa/workunits/fs/snaps/snaptest-git-ceph.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ set -e
44

55
# increase the cache size
66
sudo git config --global http.sslVerify false
7-
sudo git config --global http.postBuffer 1048576000
7+
sudo git config --global http.postBuffer 1024MB # default is 1MB
8+
sudo git config --global http.maxRequestBuffer 100M # default is 10MB
9+
sudo git config --global core.compression 0
10+
11+
# enable the debug logs for git clone
12+
export GIT_TRACE_PACKET=1
13+
export GIT_TRACE=1
14+
export GIT_CURL_VERBOSE=1
815

916
# try it again if the clone is slow and the second time
1017
retried=false
@@ -19,6 +26,11 @@ timeout 1800 git clone https://git.ceph.com/ceph.git
1926
trap - EXIT
2027
cd ceph
2128

29+
# disable the debug logs for git clone
30+
export GIT_TRACE_PACKET=0
31+
export GIT_TRACE=0
32+
export GIT_CURL_VERBOSE=0
33+
2234
versions=`seq 1 90`
2335

2436
for v in $versions

0 commit comments

Comments
 (0)