Skip to content

Commit f1e4b64

Browse files
committed
add missing one in last change
1 parent 52f0b75 commit f1e4b64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/mirror/mirror_pull_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ func Test_checkRecoverableSyncError(t *testing.T) {
7878
{true, "error: cannot lock ref 'refs/remotes/origin/foo': unable to resolve reference 'refs/remotes/origin/foo': reference broken"},
7979
// A race condition in http git-fetch where named refs were force-pushed during the update, would exit status 128
8080
{true, "error: cannot lock ref 'refs/pull/123456/merge': is at 988881adc9fc3655077dc2d4d757d480b5ea0e11 but expected 7f894307ffc9553edbd0b671cab829786866f7b2"},
81+
// A race condition with other local git operations, such as git-maintenance, would exit status 128 (well, "Unable" the "U" is uppercase)
82+
{true, "fatal: Unable to create '/data/gitea-repositories/foo-org/bar-repo.git/./objects/info/commit-graphs/commit-graph-chain.lock': File exists."},
8183
// Missing or unauthorized credentials, would exit status 128
8284
{false, "fatal: Authentication failed for 'https://example.com/foo-does-not-exist/bar.git/'"},
8385
// A non-existent remote repository, would exit status 128

0 commit comments

Comments
 (0)