Skip to content

Commit

Permalink
installing c snappy library before callign tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Azfaar Qureshi committed Nov 24, 2020
1 parent dd30975 commit 67cd647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
PrometheusRemoteWriteMetricsExporter,
)
from opentelemetry import metrics
from opentelemetry.sdk.metrics import MeterProvider, ConsoleMetricsExporter
from opentelemetry.sdk.util import get_dict_as_key
import time
from opentelemetry.test.test_base import TestBase


Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ commands =
python scripts/eachdist.py lint --check-only

[testenv:docker-tests]
commands_pre = sudo apt-get install libsnappy-dev
deps =
pytest
asyncpg==0.20.1
Expand All @@ -310,7 +309,6 @@ deps =
redis ~= 3.3.11
celery ~= 4.0, != 4.4.4
protobuf>=3.13.0
python-snappy==0.5.4
requests==2.25.0
changedir =
tests/opentelemetry-docker-tests/tests
Expand All @@ -333,6 +331,8 @@ commands_pre =
-e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics \
-e {toxinidir}/opentelemetry-python-core/exporter/opentelemetry-exporter-opencensus \
-e {toxinidir}/exporter/opentelemetry-exporter-prometheus-remote-write
sudo apt-get install libsnappy-dev
pip install python-snappy
docker-compose up -d
python check_availability.py
commands =
Expand Down

0 comments on commit 67cd647

Please sign in to comment.