HomeClusterLabs Projects
Diffusion Booth 84b6583b39ce

Fix tests to deal with addition of ticket_catchup() to setup() phase (f16e6d1a)

Description

Fix tests to deal with addition of ticket_catchup() to setup() phase (f16e6d1a)

Now boothd site/arbitrator will hang in setup phase while attempting to connect
to an unreachable peer during ticket_catchup(). In a test environment we don't
have any reachable peers. Fortunately, we can still successfully launch a
daemon by only listing our own IP in the config file. But now our tests now
have to explicitly say whether they expect the server to successfully start up
via a new expect_daemon argument to ServerTestEnvironment.run_booth().

Details

Provenance
Adam Spiers <aspiers@suse.com>Authored on Mar 26 2012, 12:02 PM
Parents
rB70e5a716dcc6: Refactor code duplication between do_grant() and do_revoke()
Branches
Unknown
Tags
Unknown

Event Timeline