Skip to content

Commit

Permalink
Merge pull request AppScale#866 from DrOctogon/fixing-broken-unit-test
Browse files Browse the repository at this point in the history
Fixing broken unit test for zookeeper transaction rety
  • Loading branch information
shatterednirvana committed Jan 21, 2014
2 parents aa36e8d + 3f5e09f commit 60c5d9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AppDB/test/unit/test_zookeeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ def test_acquire_additional_lock(self):
fake_zookeeper.should_receive('retry').with_args('create', str, makepath=bool, sequence=bool,
ephemeral=bool, value=str, acl=None).and_return("/some/lock/path")
fake_zookeeper.should_receive('retry').with_args('create_async', str, value=str,
acl=None, ephemeral=bool, makepath=bool)
acl=None, ephemeral=bool, makepath=bool, sequence=bool)
fake_zookeeper.should_receive('retry').with_args('create_async', str, value=str,
acl=str, ephemeral=bool, makepath=bool, sequence=bool)
lock_list = ['path1', 'path2', 'path3']
lock_list_str = zk.LOCK_LIST_SEPARATOR.join(lock_list)
fake_zookeeper.should_receive('retry').with_args('get', str) \
Expand Down

0 comments on commit 60c5d9c

Please sign in to comment.