Skip to content

Commit

Permalink
Fix parametric tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne committed Aug 23, 2024
1 parent 5ff24e2 commit d78c86c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/_context/_scenarios/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def configure(self, config):
self._clean_networks()

# https://github.com/DataDog/system-tests/issues/2799
if library in ("nodejs",):
if library in ("nodejs", "python"):
output = _get_client().containers.run(
self.apm_test_server_definition.container_tag,
remove=True,
Expand Down Expand Up @@ -338,7 +338,8 @@ def python_library_factory() -> APMLibraryTestServer:
WORKDIR /app
RUN pyenv global 3.9.16
RUN python3.9 -m pip install fastapi==0.89.1 uvicorn==0.20.0
COPY utils/build/docker/python/install_ddtrace.sh utils/build/docker/python/get_appsec_rules_version.py binaries* /binaries/
COPY utils/build/docker/python/parametric/system_tests_library_version.sh system_tests_library_version.sh
COPY utils/build/docker/python/install_ddtrace.sh binaries* /binaries/
RUN /binaries/install_ddtrace.sh
ENV DD_PATCH_MODULES="fastapi:false"
""",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

python -c "import ddtrace; print(ddtrace.__version__)"

0 comments on commit d78c86c

Please sign in to comment.