Re: [PATCH 1/2] daemon: add tests
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jan 5, 2012, 02:24 UTC
- Message-ID
- <m3vcoqevjm.fsf@localhost.localdomain>
- In-Reply-To
- <20120104222649.GA14727@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> As a side note, it looks like we just start the daemon with "git daemon > &". Doesn't that create a race condition with the tests which > immediately try to access it (i.e., the first test may run before the > daemon actually opens the socket)?
Hmmm... perhaps the trick that git-instaweb does for "plackup" web server would be of use here, waiting for socket to be ready?
-- Jakub Narebski