open-consul/agent/ae
Frank Schroeder 2bef1d4d51 local state: fix anti-entropy state tests
The anti-entropy tests relied on the side-effect of the StartSync()
method to perform a full sync instead of a partial sync. This lead to
multiple anti-entropy go routines being started unnecessary retry loops.

This change changes the behavior to perform synchronous full syncs when
necessary removing the need for all of the time.Sleep and most of the
retry loops.
2017-10-23 08:03:18 +02:00
..
ae.go local state: fix anti-entropy state tests 2017-10-23 08:03:18 +02:00
ae_test.go agent: cleanup StateSyncer 2017-10-23 08:03:18 +02:00