opentracing-shim: add testbed for otshim (#727)
This commit ports the OpenTracing testbed[1] to check that the ot-shim is working as expected using different frameworks. Gevent doesn't support context vars yet[2], so those tests are not compatible with opentelemetry and were not ported. [1] https://github.com/opentracing/opentracing-python/tree/master/testbed [2] https://github.com/gevent/gevent/issues/1407 Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io> Co-authored-by: alrex <aboten@lightstep.com>
This commit is contained in:
parent
0a37a10713
commit
82116bcfe9
8
tox.ini
8
tox.ini
|
|
@ -227,10 +227,11 @@ commands_pre =
|
|||
|
||||
jaeger: pip install {toxinidir}/ext/opentelemetry-ext-jaeger
|
||||
|
||||
datadog: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/ext/opentelemetry-ext-datadog
|
||||
|
||||
opentracing-shim: pip install {toxinidir}/opentelemetry-sdk
|
||||
opentracing-shim: pip install {toxinidir}/ext/opentelemetry-ext-opentracing-shim
|
||||
|
||||
datadog: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/ext/opentelemetry-ext-datadog
|
||||
|
||||
zipkin: pip install {toxinidir}/ext/opentelemetry-ext-zipkin
|
||||
|
||||
sqlalchemy: pip install {toxinidir}/opentelemetry-auto-instrumentation {toxinidir}/ext/opentelemetry-ext-sqlalchemy
|
||||
|
|
@ -258,6 +259,9 @@ commands =
|
|||
; implicit Any due to unfollowed import would result).
|
||||
mypyinstalled: mypy --namespace-packages opentelemetry-api/tests/mypysmoke.py --strict
|
||||
|
||||
[testenv:py34-test-opentracing-shim]
|
||||
commands =
|
||||
pytest --ignore-glob='*[asyncio].py'
|
||||
|
||||
[testenv:lint]
|
||||
basepython: python3.8
|
||||
|
|
|
|||
Loading…
Reference in New Issue