Skip to content

Commit

Permalink
Fix nits
Browse files Browse the repository at this point in the history
Signed-off-by: dgzlopes <[email protected]>
  • Loading branch information
dgzlopes committed Jan 22, 2020
1 parent 1c8f198 commit ed8cbdc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ext/opentelemetry-ext-jaeger/tests/test_jaeger_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ def test_translate_to_jaeger(self):
)

default_status_tags = [
jaeger.Tag(key="status.code", vType=jaeger.TagType.LONG, vLong=0,),
jaeger.Tag(
key="status.code",
vType=jaeger.TagType.LONG,
vLong=StatusCanonicalCode.OK.value,
),
jaeger.Tag(
key="status.message", vType=jaeger.TagType.STRING, vStr=None,
),
Expand Down Expand Up @@ -221,7 +225,9 @@ def test_translate_to_jaeger(self):
vDouble=111.22,
),
jaeger.Tag(
key="status.code", vType=jaeger.TagType.LONG, vLong=2,
key="status.code",
vType=jaeger.TagType.LONG,
vLong=StatusCanonicalCode.UNKNOWN.value,
),
jaeger.Tag(
key="status.message",
Expand Down

0 comments on commit ed8cbdc

Please sign in to comment.