Skip to content
Snippets Groups Projects
Commit 48ad29a2 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

tasks: Revert task renaming introduced in 0f1d1d54

Renaming the celery task broke the subversion loading in production as the
load-svn task type is already registered in scheduler database and targets
the previous celery task name.

Related to swh-environment#3925.
parent 5d55565e
No related branches found
No related tags found
1 merge request!234tasks: Revert task renaming introduced in 0f1d1d5
......@@ -18,7 +18,7 @@ def _process_kwargs(kwargs):
return kwargs
@shared_task(name=__name__ + ".SvnLoaderFromRemoteDump")
@shared_task(name=__name__ + ".DumpMountAndLoadSvnRepository")
def load_svn(**kwargs):
"""
1. Mount a remote svn dump as a local svn repository.
......
......@@ -28,7 +28,7 @@ def test_svn_loader_from_remote_dump_for_listed_origin(
loading_task_creation_for_listed_origin_test(
loader_class_name=f"{NAMESPACE}.loader.SvnLoaderFromRemoteDump",
task_function_name=f"{NAMESPACE}.tasks.SvnLoaderFromRemoteDump",
task_function_name=f"{NAMESPACE}.tasks.DumpMountAndLoadSvnRepository",
lister=svn_lister,
listed_origin=svn_listed_origin,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment