Ensure 'leave_group' result gotten before further work

Avoid the case where 'client3' doesn't leave the group before
we start to check for that removal in the main client by using
the get() operation on the 'client3' leave_group() operation.

Change-Id: I4f1cc3ea1088d0cd026023c72018ee6716b9bbc8
This commit is contained in:
Joshua Harlow 2014-11-17 13:10:57 -08:00
parent 1f9b360ea2
commit 5d07a4c84a
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ class TestAPI(testscenarios.TestWithScenarios,
client3 = tooz.coordination.get_coordinator(self.url, self.member_id)
client3.start()
client3.leave_group(self.group_id)
client3.leave_group(self.group_id).get()
# Only works for clients that have access to the groups they are part
# of, to ensure that after we got booted out by client3 that this