File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
exporter/opentelemetry-exporter-credential-provider-gcp Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
OpenTelemetry GCP Credential Provider for OTLP Exporters
2
- ==============================================
2
+ ========================================================
3
3
4
4
.. image :: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp.svg
5
5
:target: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
from os import environ
15
+ from platform import python_implementation
15
16
from unittest import TestCase
16
17
from unittest .mock import MagicMock , patch
17
18
18
19
from google .auth .transport .requests import AuthorizedSession
20
+ from pytest import mark
19
21
20
22
from opentelemetry .exporter .otlp .proto .http .trace_exporter import (
21
23
OTLPSpanExporter ,
@@ -37,6 +39,9 @@ class TestOTLPTraceAutoInstrumentGcpCredential(TestCase):
37
39
_OTEL_PYTHON_EXPORTER_OTLP_GRPC_TRACES_CREDENTIAL_PROVIDER : "gcp_grpc_credentials" ,
38
40
},
39
41
)
42
+ @mark .skipif (
43
+ python_implementation () == "PyPy" , reason = "Fails randomly in pypy"
44
+ )
40
45
def test_loads_otlp_exporters_with_google_creds (
41
46
self , mock_default : MagicMock
42
47
): # pylint: disable=no-self-use
You can’t perform that action at this time.
0 commit comments