e245f3021a3c4c1c9638ce549d580ce72f9932be
This test shuts down two out of three managers and then asserts that the swarm has a leader. A swarm that lost quorum won't necessarily have a leader, and in this case only has one because the old leader is still around. Soon SwarmKit will be changed so the leader gives up leadership when quorum is lost. This will avoid confusing situations, like read-only APIs succeeding, while ones that write to Raft hang. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: c27603238c5493909ec9b657b342b67b23e615e3 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%