Skip to content

Commit bd3f124

Browse files
committed
skip and update some tests that use python 3.8
1 parent 0c68000 commit bd3f124

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib-injection/build/docker/python/dd-lib-python-init-test-protobuf-old/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/python:3.8
1+
FROM public.ecr.aws/docker/library/python:3.9
22

33
ENV PYTHONUNBUFFERED 1
44
ENV DJANGO_SETTINGS_MODULE django_app

tests/auto_inject/test_auto_inject_install.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class TestSimpleInstallerAutoInjectManualProfiling(base.AutoInjectBaseTest):
3030
context.vm_name in ["Ubuntu_24_amd64", "Ubuntu_24_arm64"] and context.weblog_variant == "test-app-nodejs",
3131
reason="PROF-11264",
3232
)
33+
@irrelevant(
34+
context.vm_name in ["Ubuntu_20_amd64", "Ubuntu_20_arm64"] and context.weblog_variant == "test-app-python",
35+
reason="Python version too old",
36+
)
3337
def test_profiling(self):
3438
logger.info(f"Launching test_install for : [{context.vm_name}]...")
3539
self._test_install(context.virtual_machine, profile=True)

0 commit comments

Comments
 (0)