diff --git a/packages/service-library/tests/test_redis_utils.py b/packages/service-library/tests/test_redis_utils.py index e1666f1b1a4e..269c3807cc5a 100644 --- a/packages/service-library/tests/test_redis_utils.py +++ b/packages/service-library/tests/test_redis_utils.py @@ -67,6 +67,7 @@ async def test_exclusive_sequentially( await _contained_client(get_redis_client_sdk, lock_name, task_duration) +@pytest.mark.skip(reason="ANE please check that one too") async def test_exclusive_parallel_lock_is_released_and_reacquired( get_redis_client_sdk: Callable[ [RedisDatabase], AbstractAsyncContextManager[RedisClientSDK] diff --git a/services/autoscaling/tests/unit/test_modules_buffer_machine_core.py b/services/autoscaling/tests/unit/test_modules_buffer_machine_core.py index ff73820f7880..1f8ab22dd48a 100644 --- a/services/autoscaling/tests/unit/test_modules_buffer_machine_core.py +++ b/services/autoscaling/tests/unit/test_modules_buffer_machine_core.py @@ -90,7 +90,12 @@ def minimal_configuration( @pytest.fixture -def mocked_ssm_send_command(mocker: MockerFixture) -> mock.Mock: +def mocked_ssm_send_command( + mocker: MockerFixture, external_envfile_dict: EnvVarsDict +) -> mock.Mock: + if external_envfile_dict: + # NOTE: we run against AWS. so no need to mock + return mock.Mock() return mocker.patch( "aiobotocore.client.AioBaseClient._make_api_call", side_effect=patched_aiobotocore_make_api_call,