Skip to content

Commit 4a18f05

Browse files
committed
Fix broken trace exporter test
1 parent 55baba7 commit 4a18f05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opentelemetry-exporter-gcp-trace/tests/test_cloud_trace_exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ def test_extract_multiple_links(self):
550550
),
551551
attributes={"illegal_attr_value": dict(), "int_attr_value": 123},
552552
)
553+
print(link3.attributes)
553554
self.assertEqual(
554555
_extract_links([link1, link2, link3]),
555556
ProtoSpan.Links(
@@ -571,6 +572,7 @@ def test_extract_multiple_links(self):
571572
"span_id": span_id2,
572573
"type": "TYPE_UNSPECIFIED",
573574
"attributes": {
575+
"dropped_attributes_count": 1,
574576
"attribute_map": {
575577
"int_attr_value": AttributeValue(int_value=123)
576578
},

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ changedir = {env:PACKAGE_NAME}
7575
commands_pre =
7676
{toxinidir}/get_mock_server.sh {envbindir}
7777

78-
commands =
79-
pip freeze
80-
pytest --junitxml={[constants]test_results_dir}/{envname}/junit.xml {posargs}
78+
commands = pytest --junitxml={[constants]test_results_dir}/{envname}/junit.xml {posargs}
8179

8280
allowlist_externals =
8381
bash

0 commit comments

Comments
 (0)