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

Force consistent stty size on travis #6768

Merged
merged 2 commits into from
Nov 14, 2018

Conversation

illicitonion
Copy link
Contributor

It apparently got much narrower yesterday, which causes some tests which
are sensitive to stty width (around parsing pytest output) to fail.

It apparently got much narrower yesterday, which causes some tests which
are sensitive to stty width (around parsing pytest output) to fail.
stty rows 60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment would be great as to why. I think its probably horrible that we have tests that parse output (and to boot, in this fragile a way). Calling attention to this magic as a hack to support the test hacks seems like a good idea for future cleanup expeditions to be more fearless.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very open to feedback on the tests in #6661 which are the relevant ones (which I just added).

In the mean time, I'll add a comment and merge to get master green.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha. Well, in that case, setting TERM=dumb and / or COLUMNS=XYZ inside just those tests makes a lot more sense to me.

@stuhood
Copy link
Sponsor Member

stuhood commented Nov 14, 2018

Both of the failures are flakes, and @illicitonion is gone for the day. Going to merge to get master green, and then we can loop back to isolate the fix.

@stuhood stuhood merged commit b2ac372 into pantsbuild:master Nov 14, 2018
@stuhood stuhood deleted the dwagnerhall/stty-size branch November 14, 2018 21:54
illicitonion added a commit to twitter/pants that referenced this pull request Nov 15, 2018
illicitonion added a commit that referenced this pull request Nov 15, 2018
* Revert "Force consistent stty size on travis (#6768)"

This reverts commit b2ac372.

* Set TERM=dumb
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.

None yet

3 participants