mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
TestWatchReconnRequest occasionally triggers elections because it spins on drop connections, eating up CPU. In case there's an election, submit an l-read to wait for the cluster to settle down. Fixes #6314