Commit 993b1c4f authored by Alper Akgun's avatar Alper Akgun

Merge branch 'pks-objectpool-in-memory-fetches' into 'master'

git: Fix object pool spec checking for wrong reference

See merge request gitlab-org/gitlab!73620
parents a72888d4 4ac49cb5
......@@ -112,7 +112,7 @@ RSpec.describe Gitlab::Git::ObjectPool do
subject.fetch
expect(subject.repository.commit_count('refs/remotes/origin/master')).to eq(commit_count)
expect(subject.repository.commit_count('refs/remotes/origin/heads/master')).to eq(commit_count)
expect(subject.repository.commit(new_commit_id).id).to eq(new_commit_id)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment