Skip to content

Commit 854c4b5

Browse files
committed
fix dynamic-sidecar integration tests
1 parent 4ae7f6f commit 854c4b5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

services/dynamic-sidecar/tests/integration/test_modules_long_running_tasks.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@
4747
pytest_simcore_core_services_selection = [
4848
"migration",
4949
"postgres",
50-
"storage",
50+
"rabbit",
5151
"redis",
52+
"storage",
5253
]
5354

5455
pytest_simcore_ops_services_selection = [
@@ -87,6 +88,7 @@ def project_id(user_id: int, postgres_db: sa.engine.Engine) -> Iterable[ProjectI
8788
def mock_environment(
8889
mock_storage_check: None,
8990
mock_rabbit_check: None,
91+
rabbit_service,
9092
postgres_host_config: PostgresTestConfig,
9193
storage_endpoint: URL,
9294
minio_s3_settings_envs: EnvVarsDict,
@@ -104,10 +106,7 @@ def mock_environment(
104106
"DY_SIDECAR_PROJECT_ID": f"{project_id}",
105107
"R_CLONE_PROVIDER": "MINIO",
106108
"DY_SIDECAR_CALLBACKS_MAPPING": "{}",
107-
"RABBIT_HOST": "test",
108-
"RABBIT_PASSWORD": "test",
109-
"RABBIT_SECURE": "0",
110-
"RABBIT_USER": "test",
109+
**{k: f"{v}" for k, v in rabbit_service.dict().items()},
111110
**base_mock_envs,
112111
}
113112

0 commit comments

Comments
 (0)