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

tr: fix flaky test #2896

Merged
merged 1 commit into from
Jan 20, 2022
Merged

tr: fix flaky test #2896

merged 1 commit into from
Jan 20, 2022

Conversation

tertsdiepraam
Copy link
Member

The test test_tr::test_more_than_2_sets sometimes fails randomly. For example here: https://github.com/uutils/coreutils/runs/4845185000?check_suite_focus=true

Here's my guess to why this was happening: the command exits immediately because the arguments are wrong. Therefore, there might sometimes be no time to pipe the input into the command, which results in the broken pipe error. The fix is simple: remove the pipe. I also re-enabled this test for FreeBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants