Skip to content

Commit ad25c3c

Browse files
committed
fix
1 parent 2a1b363 commit ad25c3c

File tree

6 files changed

+7
-2
lines changed

6 files changed

+7
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,10 @@ jobs:
372372
373373
case "${{ matrix.test_suite }}" in
374374
"build-integ")
375-
pytest -vv -n 2 --reruns 3 tests/integration/buildcmd -m 'not java and not python and not dotnet and not nodejs and not ruby' --ignore=tests/integration/buildcmd/test_build_cmd_arm64.py --ignore=tests/integration/buildcmd/test_build_terraform_applications.py --ignore=tests/integration/buildcmd/test_build_terraform_applications_other_cases.py -k "${CONTAINER_FILTER}" --json-report --json-report-file=TEST_REPORT-integration-buildcmd-${{ matrix.container_runtime }}.json
375+
pytest -vv -n 2 --reruns 3 tests/integration/buildcmd -m 'not java and not python and not provided and not dotnet and not nodejs and not ruby' --ignore=tests/integration/buildcmd/test_build_cmd_arm64.py --ignore=tests/integration/buildcmd/test_build_terraform_applications.py --ignore=tests/integration/buildcmd/test_build_terraform_applications_other_cases.py -k "${CONTAINER_FILTER}" --json-report --json-report-file=TEST_REPORT-integration-buildcmd-${{ matrix.container_runtime }}.json
376376
;;
377377
"build-integ-java-python-provided")
378-
pytest -vv -n 2 --reruns 3 tests/integration/buildcmd -m 'java or python' --ignore=tests/integration/buildcmd/test_build_cmd_arm64.py --ignore=tests/integration/buildcmd/test_build_terraform_applications.py --ignore=tests/integration/buildcmd/test_build_terraform_applications_other_cases.py -k "${CONTAINER_FILTER}" --json-report --json-report-file=TEST_REPORT-integration-buildcmd-java-python-provided-${{ matrix.container_runtime }}.json
378+
pytest -vv -n 2 --reruns 3 tests/integration/buildcmd -m 'java or python or provided' --ignore=tests/integration/buildcmd/test_build_cmd_arm64.py --ignore=tests/integration/buildcmd/test_build_terraform_applications.py --ignore=tests/integration/buildcmd/test_build_terraform_applications_other_cases.py -k "${CONTAINER_FILTER}" --json-report --json-report-file=TEST_REPORT-integration-buildcmd-java-python-provided-${{ matrix.container_runtime }}.json
379379
;;
380380
"build-integ-dotnet-node-ruby")
381381
pytest -vv -n 2 --reruns 3 tests/integration/buildcmd -m 'dotnet or nodejs or ruby' --ignore=tests/integration/buildcmd/test_build_cmd_arm64.py --ignore=tests/integration/buildcmd/test_build_terraform_applications.py --ignore=tests/integration/buildcmd/test_build_terraform_applications_other_cases.py -k "${CONTAINER_FILTER}" --json-report --json-report-file=TEST_REPORT-build-integ-dotnet-node-ruby-${{ matrix.container_runtime }}.json

tests/integration/remote/invoke/test_lambda_invoke_response_stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def test_invoke_different_boto_options(self):
106106

107107

108108
@skipIf(SKIP_LMI_TESTS, "Skip LMI tests when running on canary")
109+
@pytest.mark.skipif(SKIP_LMI_TESTS)
109110
class TestInvokeResponseStreamingCapacityProvider(RemoteInvokeIntegBase):
110111
template = Path("template-lambda-response-capacity-provider-stream-fn.yaml")
111112

tests/integration/remote/invoke/test_remote_invoke.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919

2020
@skipIf(SKIP_LMI_TESTS, "Skip LMI tests when running on canary")
21+
@pytest.mark.skipif(SKIP_LMI_TESTS)
2122
class TestingInvokeWithCapacityProvider(RemoteInvokeIntegBase):
2223
template = Path("template-single-lambda-capacity-provider.yaml")
2324

tests/integration/sync/test_sync_code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ def test_skip_build(self):
803803
]
804804
)
805805
@pytest.mark.timeout(300)
806+
@pytest.mark.skipif(SKIP_LMI_TESTS)
806807
@skipIf(SKIP_LMI_TESTS, "Skip LMI tests when running on canary")
807808
class TestSyncCodeLMI(TestSyncCodeBase):
808809
"""Test sync code operations with Lambda Managed Instance functions"""

tests/integration/sync/test_sync_infra.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ def test_sync_infra_esbuild(self, template_file):
588588

589589

590590
@skipIf(SKIP_LMI_TESTS, "Skip LMI tests when running on canary")
591+
@pytest.mark.skipif(SKIP_LMI_TESTS)
591592
@parameterized_class(
592593
[
593594
{"dependency_layer": True},

tests/integration/sync/test_sync_watch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ def test_sync_watch_code_excludes(self):
871871

872872

873873
@skipIf(SKIP_LMI_TESTS, "Skip LMI tests when running on canary")
874+
@pytest.mark.skipif(SKIP_LMI_TESTS)
874875
@parameterized_class([{"dependency_layer": True}, {"dependency_layer": False}])
875876
@pytest.mark.timeout(600) # 10 minutes timeout for LMI operations
876877
class TestSyncWatchCodeLMI(TestSyncWatchBase):

0 commit comments

Comments
 (0)