Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[processor/deltatocumulative] - Fix tests on windows #35902

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArthurSens
Copy link
Member

@ArthurSens ArthurSens commented Oct 21, 2024

Description

Our test format testar is based on golang.org/x/tools/txtar, which does
not properly handle CRLF line endings.

When using git on windows, git turns LF into CRLF, making our tests fail
on that platform.

The Go CL does not appears to be inactive, so I opted for replacing CRLF
with LF for now within testar.

Link to tracking issue

Fixes #35876

@ArthurSens
Copy link
Member Author

It's an awkward timing right now cause I'm stuck between airports for a few days 😅.

Could somebody add the necessary label to activate the windows tests?

@songy23 songy23 added Run Windows Enable running windows test on a PR Skip Changelog PRs that do not require a CHANGELOG.md entry labels Oct 21, 2024
@ArthurSens
Copy link
Member Author

Urgh, kinda sucks to debug this without a windows machine. I'm almost sure we're failing here @sh0rez

Our test format testar is based on golang.org/x/tools/txtar, which does
not properly handle CRLF line endings.

When using git on windows, git turns LF into CRLF, making our tests fail
on that platform.

The Go CL does not appears to be inactive, so I opted for replacing CRLF
with LF for now within testar.
@ArthurSens ArthurSens changed the title [WIP] [processor/deltatocumulative] - Fix tests on windows [processor/deltatocumulative] - Fix tests on windows Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/deltatocumulative Run Windows Enable running windows test on a PR Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[broken test] deltatocumulativeprocessor TestProcessor fails on Windows
4 participants