Skip to content

Commit 2da167d

Browse files
author
ADOT Patch workflow
committed
remove forked
1 parent 3e13e3d commit 2da167d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/patches/test_instrumentation_patch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from unittest.mock import MagicMock, patch
88

99
import gevent.monkey
10-
import pytest
1110

1211
import opentelemetry.sdk.extension.aws.resource.ec2 as ec2_resource
1312
import opentelemetry.sdk.extension.aws.resource.eks as eks_resource
@@ -97,7 +96,6 @@ class TestInstrumentationPatch(TestCase):
9796
method_patches: Dict[str, patch] = {}
9897
mock_metric_exporter_init: patch
9998

100-
@pytest.mark.forked
10199
def test_instrumentation_patch(self):
102100
# Set up method patches used by all tests
103101
self.method_patches[IMPORTLIB_METADATA_VERSION_PATCH] = patch(IMPORTLIB_METADATA_VERSION_PATCH).start()

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ deps =
1515
-c dev-requirements.txt
1616
test: pytest
1717
test: pytest-cov
18-
test: pytest-forked
1918
test: fastapi
2019
test: starlette
2120
test: flask
@@ -44,8 +43,7 @@ commands_pre =
4443
aws-opentelemetry-distro: pip install {toxinidir}/aws-opentelemetry-distro
4544

4645
commands =
47-
test: pytest --forked -m "not forked" --cov={envsitepackagesdir}/amazon --cov-config=../../.coveragerc {posargs}
48-
test: pytest -m "forked" --cov={envsitepackagesdir}/amazon --cov-config=../../.coveragerc --cov-append {posargs}
46+
test: pytest --cov={envsitepackagesdir}/amazon --cov-config=../../.coveragerc {posargs}
4947

5048
[testenv:spellcheck]
5149
basepython: python3

0 commit comments

Comments
 (0)