File tree 1 file changed +3
-0
lines changed
exporter/opentelemetry-exporter-jaeger-proto-grpc/tests
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 37
37
OTEL_EXPORTER_JAEGER_ENDPOINT ,
38
38
OTEL_EXPORTER_JAEGER_TIMEOUT ,
39
39
OTEL_RESOURCE_ATTRIBUTES ,
40
+ OTEL_EXPORTER_JAEGER_GRPC_INSECURE ,
40
41
)
41
42
from opentelemetry .sdk .resources import SERVICE_NAME , Resource
42
43
from opentelemetry .sdk .trace import TracerProvider
@@ -87,6 +88,7 @@ def test_constructor_by_environment_variables(self):
87
88
+ "/certs/cred.cert" ,
88
89
OTEL_RESOURCE_ATTRIBUTES : "service.name=my-opentelemetry-jaeger" ,
89
90
OTEL_EXPORTER_JAEGER_TIMEOUT : "5" ,
91
+ OTEL_EXPORTER_JAEGER_GRPC_INSECURE : "False" ,
90
92
},
91
93
)
92
94
@@ -99,6 +101,7 @@ def test_constructor_by_environment_variables(self):
99
101
self .assertEqual (exporter .collector_endpoint , collector_endpoint )
100
102
self .assertEqual (exporter ._timeout , 5 )
101
103
self .assertIsNotNone (exporter .credentials )
104
+ self .assertEqual (exporter .insecure , False )
102
105
env_patch .stop ()
103
106
104
107
# pylint: disable=too-many-locals,too-many-statements
You can’t perform that action at this time.
0 commit comments