servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
171 stars 80 forks source link

Command line operations may fail to obtain a running daemon's SID #54

Closed lakeman closed 11 years ago

lakeman commented 11 years ago

Running all tests, sometimes overlay_mdp_getmyaddr() times out while waiting for a response from the daemon. This is not deterministic, but may cause a number of tests to fail in quick succession for the same underlying reason. This issue was noticed on ubuntu, with many dnahelper tests failing, immediately after the routing tests which run multiple servald nodes. This could be mitigated by simplifying some of the routing tests and moving more complicated topology testing to a stress test that is not included in the all script.

lakeman commented 11 years ago

Running less tests in parallel also seems to help to mitigate this issue.

lakeman commented 11 years ago

Fixed by abfe6963d2a4cf4bd1288e238824ba96f7473fa3. Now waits for the daemon to enter the main fd_poll loop.