diff --git a/packages/service-library/tests/deferred_tasks/test_deferred_tasks.py b/packages/service-library/tests/deferred_tasks/test_deferred_tasks.py index 22415889cd1..0ea55a62eee 100644 --- a/packages/service-library/tests/deferred_tasks/test_deferred_tasks.py +++ b/packages/service-library/tests/deferred_tasks/test_deferred_tasks.py @@ -294,7 +294,7 @@ async def test_workflow_with_outages_in_process_running_deferred_manager( *[manager.get_results() for manager in managers] ) results: list[str] = list(itertools.chain(*gathered_results)) - assert len(results) < deferred_tasks_to_start + assert len(results) <= deferred_tasks_to_start # emulate issues with processing start & stop DeferredManager for _ in range(start_stop_cycles): diff --git a/services/dynamic-sidecar/tests/mocks/legacy_shared_store.json b/services/dynamic-sidecar/tests/mocks/legacy_shared_store.json index b1f8c53733b..102d872cf0b 100644 --- a/services/dynamic-sidecar/tests/mocks/legacy_shared_store.json +++ b/services/dynamic-sidecar/tests/mocks/legacy_shared_store.json @@ -1 +1 @@ -{"compose_spec": null, "container_names": [], "volume_states": {"INPUTS": {"status": "CONTENT_NO_SAVE_REQUIRED", "last_changed": "2023-06-28T07:18:11.157717+00:00"}, "SHARED_STORE": {"status": "CONTENT_NO_SAVE_REQUIRED", "last_changed": "2023-06-28T07:18:11.157741+00:00"}, "OUTPUTS": {"status": "CONTENT_NEEDS_TO_BE_SAVED", "last_changed": "2023-06-28T07:18:11.778735+00:00"}, "STATES": {"status": "CONTENT_NEEDS_TO_BE_SAVED", "last_changed": "2023-06-28T07:18:11.776789+00:00"}}} +{"compose_spec": null, "container_names": [], "volume_states": {"INPUTS": {"status": "CONTENT_NO_SAVE_REQUIRED", "last_changed": "2023-06-28T07:18:11.157717+00:00"}, "SHARED_STORE": {"status": "CONTENT_NO_SAVE_REQUIRED", "last_changed": "2023-06-28T07:18:11.157741+00:00"}, "OUTPUTS": {"status": "CONTENT_NEEDS_TO_BE_SAVED", "last_changed": "2023-06-28T07:18:11.778735+00:00"}, "STATES": {"status": "CONTENT_NEEDS_TO_BE_SAVED", "last_changed": "2023-06-28T07:18:11.776789+00:00"}}, "original_to_container_names": {}} diff --git a/services/dynamic-sidecar/tests/unit/test_models_shared_store.py b/services/dynamic-sidecar/tests/unit/test_models_shared_store.py index b7aa7d8caec..c72a8bdb85a 100644 --- a/services/dynamic-sidecar/tests/unit/test_models_shared_store.py +++ b/services/dynamic-sidecar/tests/unit/test_models_shared_store.py @@ -2,7 +2,6 @@ # pylint: disable=unused-argument import json -import warnings from copy import deepcopy from pathlib import Path from typing import Any @@ -122,14 +121,6 @@ async def test_init_from_disk_with_legacy_data_format(project_tests_dir: Path): # ensure object objects are compatible parsed_legacy_format = json.loads(disk_shared_store.json()) - warnings.warn( - "check notes for deprecation at https://github.com/ITISFoundation/osparc-simcore/issues/4745" - ) - # remove properties which have been added but did not exit - # when the legacy format was created - # NOTE this was already parsed so this check is a regression - # to check compatibility with very old formats - parsed_legacy_format.pop("original_to_container_names") assert parsed_legacy_format == json.loads( (MOCKS_DIR / LEGACY_SHARED_STORE).read_text()