92d9dda9c1df85365512c36b23ae81d5ea6da516
Fixes previously flaky TestAPISwarmRaftQuorum. In the test we are shutting down 2 of 3 nodes, all of which are managers. When this happens the remaining node prepares to step down from being a leader because there is no longer an active quorum. This test was written before that change was implemented, and assumes that the remaining node can still handle requests to create a service (it can't) There was further flakiness depending on whether or not the node has stepped down or was in the process of doing so. Fix this by waiting for the node to completely step down and checking to see if it errors out like it should. Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com> Upstream-commit: fd32d49c490126d830be6c1008ab20f6ffcee56c 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%