]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: increase the http postBuffer size and disable sslVerify
authorXiubo Li <xiubli@redhat.com>
Mon, 28 Aug 2023 09:13:24 +0000 (17:13 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 25 Sep 2023 01:23:41 +0000 (09:23 +0800)
The git repo size is large and maybe the postBuffer size is not
large enough and this will cause git commands' failure of '128'.

Fixes: https://tracker.ceph.com/issues/59413
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit cafbe1cf1568eab894d21899f1ec40320a019ee9)

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

index 12c1f0fdc0036ac86ec85d9a0d05711586243a89..2b38720c9a5781e2fd394037150ceb646f3807f3 100755 (executable)
@@ -2,6 +2,10 @@
 
 set -e
 
+# increase the cache size
+sudo git config --global http.sslVerify false
+sudo git config --global http.postBuffer 1048576000
+
 # try it again if the clone is slow and the second time
 retried=false
 trap -- 'retry' EXIT