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

convert test timeout watchers to polls #735

Merged
merged 1 commit into from
Sep 29, 2017

Conversation

rolandwalker
Copy link
Contributor

so that they don't linger after running tests

so that they don't linger after running tests
@jonas
Copy link
Owner

jonas commented Aug 18, 2017

Can you enlighten me again why you wanted the test timeouts in?

@rolandwalker
Copy link
Contributor Author

Primarily, to add tests that work by simulating keystrokes to the tty.

Just stuffing the keystrokes is simple tech, and I have it working in a private branch.

But compared to scripts it is easier for an arbitrary series of keystrokes to leave tig in a state where naively appending :quit\n would not successfully exit. Timeouts are a backstop.

This is also a motivator for #725 and #727 .

@jonas jonas merged commit 312da9b into jonas:master Sep 29, 2017
@jonas
Copy link
Owner

jonas commented Sep 29, 2017

Thanks for the explanation. Great to have the lingering fixed.

@rolandwalker rolandwalker deleted the cleanup-timeout-watcher branch September 30, 2017 14:35
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