Closed sh0rez closed 19 hours ago
processor/deltatocumulative
Git on Windows turns LF into CRLF.
golang.org/x/tools/txtar, which powers internal/testar does not handle that.
golang.org/x/tools/txtar
internal/testar
An issue and CL for that appear inactive: https://github.com/golang/go/issues/59264
Check out .test files on windows
.test
Tests passes
Test fails with file not found, as txtar does not parse
file not found
78905b80ab15c494c66f3347455f2fe60137808a
OS: (e.g., "Ubuntu 20.04") Compiler(if manually compiled): (e.g., "go 14.2")
No response
Dup of https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/35876
Component(s)
processor/deltatocumulative
What happened?
Description
Git on Windows turns LF into CRLF.
golang.org/x/tools/txtar
, which powersinternal/testar
does not handle that.An issue and CL for that appear inactive: https://github.com/golang/go/issues/59264
Steps to Reproduce
Check out
.test
files on windowsExpected Result
Tests passes
Actual Result
Test fails with
file not found
, as txtar does not parseCollector version
78905b80ab15c494c66f3347455f2fe60137808a
Environment information
Environment
OS: (e.g., "Ubuntu 20.04") Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response