Skip to content

Commit

Permalink
Adding functional tests for psycopg2 integration (#528)
Browse files Browse the repository at this point in the history
End to end verification for span creation using psycopg2 and dbapi integrations
  • Loading branch information
hectorhdzg authored Apr 9, 2020
1 parent 0d4c5ff commit 9de5be3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,19 @@ deps =
pytest
docker-compose >= 1.25.2
pymongo ~= 3.1
psycopg2 ~= 2.8.4

changedir =
ext/opentelemetry-ext-docker-tests/tests

commands_pre =
pip install -e {toxinidir}/opentelemetry-api \
-e {toxinidir}/opentelemetry-sdk \
-e {toxinidir}/ext/opentelemetry-ext-dbapi \
-e {toxinidir}/ext/opentelemetry-ext-psycopg2 \
-e {toxinidir}/ext/opentelemetry-ext-pymongo
- docker-compose up -d
docker-compose up -d
python check_availability.py
commands =
pytest {posargs}

Expand Down

0 comments on commit 9de5be3

Please sign in to comment.