Bug#845685: neovim-qt: FTBFS on kFreeBSD: tst_neovimconnector fails
James McCoy
jamessan at debian.org
Fri Dec 16 04:51:21 UTC 2016
On Thu, Dec 15, 2016 at 11:03:40PM -0500, Aaron M. Ucko wrote:
> James McCoy <jamessan at debian.org> writes:
>
> > As far as I can tell, what's happening is the async network connection
> > that's started by the connectToNeovim call has already errored out by
> > the time the onError SPY is created. The test then times out waiting
> > for the error to occur.
>
> That's an unfortunate design. Perhaps you could compensate by
> conditionalizing the SPYWAIT line on
>
> c->errorCause() != NeovimConnector::NoError
Looks like that does help. The code is still racy, but that does get
the test to pass.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
More information about the pkg-vim-maintainers
mailing list