Skip to content

Commit

Permalink
[receiver/skywalkingreceiver] Unexport MockGrpcTraceSegment (#24877)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Aug 4, 2023
1 parent caf3600 commit 0c2d590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions receiver/skywalkingreceiver/skywalking_receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestGRPCReception(t *testing.T) {

segmentCollection := &agent.SegmentCollection{
Segments: []*agent.SegmentObject{
MockGrpcTraceSegment(1),
mockGrpcTraceSegment(1),
},
}

Expand Down Expand Up @@ -163,7 +163,7 @@ func TestHttpReception(t *testing.T) {

}

func MockGrpcTraceSegment(sequence int) *agent.SegmentObject {
func mockGrpcTraceSegment(sequence int) *agent.SegmentObject {
seq := strconv.Itoa(sequence)
return &agent.SegmentObject{
TraceId: "trace" + seq,
Expand Down

0 comments on commit 0c2d590

Please sign in to comment.