Commit 685cf3e
committed
sysbench: fix PostgreSQL git clone network connectivity issues
Add retry mechanism and shallow clone to handle intermittent network
failures during PostgreSQL repository cloning. The git clone was
failing with "RPC failed; curl 18 Transferred a partial file" errors
due to the large repository size and network timeouts.
Changes:
- Add depth: 1 for shallow clone to reduce transfer size
- Add retry logic (3 attempts with 5-second delays)
- Add proper success condition checking
This resolves sysbench workflow failures during PostgreSQL setup.
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent e46620a commit 685cf3e
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
0 commit comments