mirror of
https://github.com/quay/quay.git
synced 2025-07-31 18:44:32 +03:00
Change repository deletion to occur in the background
Fixes https://issues.redhat.com/browse/PROJQUAY-124
This commit is contained in:
@ -2102,7 +2102,7 @@ class TestListRepos(ApiTestCase):
|
||||
for repo in list(
|
||||
RepositoryTable.select().where(RepositoryTable.namespace_user == public_user)
|
||||
):
|
||||
model.gc.purge_repository(public_user.username, repo.name)
|
||||
model.gc.purge_repository(repo, force=True)
|
||||
|
||||
# Add public repos until we have enough for a few pages.
|
||||
required = set()
|
||||
|
Reference in New Issue
Block a user