Skip to content

repository: Verify behaviour when fetching into pooled repos

Patrick Steinhardt requested to merge pks-fetch-remote-test-with-alternates into master

We don't have any tests right now that verify that fetching into a pooled repository is doing the right thing. Most imporantly, we don't assert that we ignore alternate references present in the object pool. This missing test coverage had been biting us because we were indeed including alternate references in the reference negotiation phase before this was fixed via 2383696d (git: Always disable use of alternate refs for git-fetch(1), 2022-06-21).

Add a test to verify that we indeed don't use alternate refs in pooled repositories to avoid any future regressions.


This MR also contains a bunch of fixes for other tests in the same package to polish it up a bit.

Closes #4304 (closed).

Merge request reports