abh / geodns

DNS server with per-client targeted responses
Apache License 2.0
1.39k stars 193 forks source link

Add delay to test start. #91

Closed abligh closed 8 years ago

abligh commented 8 years ago

Commit c86fbed741f51c20f4fd16b927f67cf82368869f tidied some things up but also removed a 200ms delay. This appears to be necessary to ensure the server has actually started before sending it queries. This is causing some random failures on travis builds I think.

Signed-off-by: Alex Bligh alex@alex.org.uk

abh commented 8 years ago

Thanks! listenAndServe() really shouldn't return until it's done; I must have thought it didn't when I made the cleanup mistake.

abh commented 8 years ago

I cherry-picked this into my master.