From 1aa2dea9e3b3154e2332a474fbe88b6965e5207c Mon Sep 17 00:00:00 2001 From: Dinis Cruz Date: Mon, 14 Oct 2024 13:29:59 +0100 Subject: [PATCH] trying with docker -v mount --- .github/actions/docker__local-stack/action.yml | 1 + .../testing/test_TestCase__Local_Stack__Temp_Lambda.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/docker__local-stack/action.yml b/.github/actions/docker__local-stack/action.yml index d200995..bfcb666 100644 --- a/.github/actions/docker__local-stack/action.yml +++ b/.github/actions/docker__local-stack/action.yml @@ -29,6 +29,7 @@ runs: -e SERVICES="${{ inputs.LOCAL_STACK_SERVICES }}" \ -e AWS_ACCESS_KEY_ID="${{ inputs.AWS_ACCESS_KEY_ID }}" \ -e AWS_SECRET_ACCESS_KEY="${{ inputs.AWS_SECRET_ACCESS_KEY }}" \ + -v "/run/docker/docker.sock:/var/run/docker.sock" \ --name localstack-server \ localstack/localstack:latest diff --git a/tests/integration/testing/test_TestCase__Local_Stack__Temp_Lambda.py b/tests/integration/testing/test_TestCase__Local_Stack__Temp_Lambda.py index a031f60..a75acde 100644 --- a/tests/integration/testing/test_TestCase__Local_Stack__Temp_Lambda.py +++ b/tests/integration/testing/test_TestCase__Local_Stack__Temp_Lambda.py @@ -40,7 +40,9 @@ def test_create__temp_lambda(self): _.add_function_source_code() update_result = _.package.update() pprint(update_result) - update_status = _.lambda_function().wait_for_function_update_to_complete() + update_status = _.lambda_function().wait_for_function_update_to_complete(wait_time=0.5) + print("------------- CONFIGURATION (after update_status)") + pprint(_.lambda_function().configuration()) print("-------------") print("UPDATE STATUS: ", update_status)