fix issue in ut of package internal/tracing
@@ -42,7 +42,7 @@ func NewTraceID() (traceID trace.TraceID) {
// NewSpanID creates and returns a span ID.
func NewSpanID() (spanID trace.SpanID) {
- copy(spanID[:], gbinary.EncodeInt64(time.Now().UnixMicro()))
+ copy(spanID[:], gbinary.EncodeInt64(time.Now().UnixNano()/1e3))
copy(spanID[4:], grand.B(4))
return
}
