Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Fix validator_test hang on Solaris, Plan 9 #107

Merged
merged 1 commit into from
May 31, 2015

Conversation

mbland
Copy link
Contributor

@mbland mbland commented May 31, 2015

On these platforms, the done <- true statement in during TearDown() was hanging, since the watcher_unsupported.go version was never draining the channel. Also took the opportunity to update the WatchForUpdates() signature to not return bool anymore.

I developed this on Solaris 11 running in a VM, and confirmed that it's compatible with OS X. I'll expect it'll work just as well with Linux and Windows, and am trying to figure out how to get Go set up on Plan 9 as we speak.

cc: @jehiah

On these platforms, the `done <- true` statement in during TearDown() was
hanging, since the `watcher_unsupported.go` version was never draining the
channel. Also took the opportunity to update the WatchForUpdates() signature
to not return bool anymore.
@jehiah
Copy link
Member

jehiah commented May 31, 2015

👍 anything else you expect to add here before we merge this?

@mbland
Copy link
Contributor Author

mbland commented May 31, 2015

Nothing I expect, no. But if I manage to get git installed on Plan 9 and I find another problem, I'll be certain to open another PR. ;-)

jehiah added a commit that referenced this pull request May 31, 2015
Fix validator_test hang on Solaris, Plan 9
@jehiah jehiah merged commit 71b79ba into bitly:master May 31, 2015
@mbland mbland deleted the fix-validator-test branch June 1, 2015 00:45
@mbland
Copy link
Contributor Author

mbland commented Jun 8, 2015

FYI, I finally managed to build and test on Plan 9, and all is well. ;-)

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

Successfully merging this pull request may close these issues.

2 participants