Skip to content
Snippets Groups Projects
Commit e5234166 authored by Sami Hiltunen's avatar Sami Hiltunen
Browse files

Only create the replica's record in SetGeneration

SetGeneraton is used to set a replicas generation after it has been
replicated to. In the past, it also created a record for the repository
if it was missing one. This has been abused in the tests to create
records for the repositories while setting a desired generation for a
replica. Repository creation logic has since expanded, and the tests
should also create repositories by using CreateRepository. SetGeneration
should never create a repository record, so this commit drops the behavior
now that tests have been updated to properly create the repository records
they expect.
parent ea144716
No related merge requests found
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