From be685c17868646b05485f9c35f208a9d746913fd Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Mon, 28 Aug 2023 17:13:24 +0800 Subject: [PATCH] qa: increase the http postBuffer size and disable sslVerify 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 (cherry picked from commit cafbe1cf1568eab894d21899f1ec40320a019ee9) --- qa/workunits/fs/snaps/snaptest-git-ceph.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qa/workunits/fs/snaps/snaptest-git-ceph.sh b/qa/workunits/fs/snaps/snaptest-git-ceph.sh index 12c1f0fdc00..2b38720c9a5 100755 --- a/qa/workunits/fs/snaps/snaptest-git-ceph.sh +++ b/qa/workunits/fs/snaps/snaptest-git-ceph.sh @@ -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 -- 2.39.5