File tree 3 files changed +1
-6
lines changed
tests/context/propagation
3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- import json
18
-
19
17
import flask
20
18
import requests
21
19
Original file line number Diff line number Diff line change 62
62
"""
63
63
64
64
import enum
65
- import random
66
65
import types as python_types
67
66
import typing
68
67
from contextlib import contextmanager
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ def test_invalid_trace_id(self):
99
99
},
100
100
)
101
101
self .assertEqual (span_context , trace .INVALID_SPAN_CONTEXT )
102
- self .assertNotEqual (span_context .span_id , "1234567890123456" )
103
102
104
103
def test_invalid_parent_id (self ):
105
104
"""If the parent id is invalid, we must ignore the full traceparent header.
@@ -171,8 +170,7 @@ def test_propagate_invalid_context(self):
171
170
self .assertFalse ("traceparent" in output )
172
171
173
172
def test_tracestate_empty_header (self ):
174
- """Do not propagate invalid trace context.
175
- """
173
+ """Test tracestate with an additional empty header (should be ignored)"""
176
174
span_context = FORMAT .extract (
177
175
get_as_list ,
178
176
{
You can’t perform that action at this time.
0 commit comments