Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
atshaw43 committed Sep 27, 2023
1 parent fff2a31 commit aff22af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exporter/awsxrayexporter/internal/translator/segment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ func TestNotLocalRootInternal(t *testing.T) {
assert.Equal(t, "MyInternalService", *segments[0].Name)
}

func TestNotLocalRoot(t *testing.T) {
func TestNotLocalRootConsumer(t *testing.T) {
spanName := "destination receive"
resource := constructDefaultResource()
parentSpanID := newSegmentID()
Expand All @@ -1517,6 +1517,7 @@ func TestNotLocalRoot(t *testing.T) {
assert.Equal(t, 1, len(segments))
assert.Nil(t, err)

// Validate subsegment
assert.Equal(t, "subsegment", *segments[0].Type)
assert.Equal(t, "myLocalService", *segments[0].Name)
assert.Equal(t, parentSpanID.String(), *segments[0].ParentID)
Expand Down

0 comments on commit aff22af

Please sign in to comment.