Skip to content

Commit

Permalink
unit test fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Manik2708 <[email protected]>
  • Loading branch information
Manik2708 committed Dec 22, 2024
1 parent 30039a7 commit d02df1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions model/converter/thrift/zipkin/to_domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func TestToDomainMultipleSpanKinds(t *testing.T) {
json string
tagFirstKey string
tagSecondKey string
tagFirstVal model.SpanKind
tagSecondVal model.SpanKind
tagFirstVal string
tagSecondVal string
}{
{
json: `[{ "trace_id": -1, "id": 31, "annotations": [
Expand All @@ -117,8 +117,8 @@ func TestToDomainMultipleSpanKinds(t *testing.T) {
]}]`,
tagFirstKey: model.SpanKindKey,
tagSecondKey: model.SpanKindKey,
tagFirstVal: model.SpanKindClient,
tagSecondVal: model.SpanKindServer,
tagFirstVal: model.SpanKindClient.String(),
tagSecondVal: model.SpanKindServer.String(),
},
{
json: `[{ "trace_id": -1, "id": 31, "annotations": [
Expand All @@ -128,8 +128,8 @@ func TestToDomainMultipleSpanKinds(t *testing.T) {
]}]`,
tagFirstKey: model.SpanKindKey,
tagSecondKey: model.SpanKindKey,
tagFirstVal: model.SpanKindServer,
tagSecondVal: model.SpanKindClient,
tagFirstVal: model.SpanKindServer.String(),
tagSecondVal: model.SpanKindClient.String(),
},
}

Expand Down

0 comments on commit d02df1b

Please sign in to comment.