Merge "Fixups for ghost listing fix"

This commit is contained in:
Jenkins 2016-12-09 03:03:03 +00:00 committed by Gerrit Code Review
commit e67a57fb17
2 changed files with 4 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class ObjectUpdater(Daemon):
resp.read() resp.read()
success = is_success(resp.status) success = is_success(resp.status)
if not success: if not success:
self.logger.error( self.logger.debug(
_('Error code %(status)d is returned from remote ' _('Error code %(status)d is returned from remote '
'server %(ip)s: %(port)s / %(device)s'), 'server %(ip)s: %(port)s / %(device)s'),
{'status': resp.status, 'ip': node['ip'], {'status': resp.status, 'ip': node['ip'],

View File

@ -109,6 +109,9 @@ class TestObjectAsyncUpdate(ReplProbeTest):
self.assertFalse(direct_client.direct_get_container( self.assertFalse(direct_client.direct_get_container(
cnode, cpart, self.account, container)[1]) cnode, cpart, self.account, container)[1])
# since the container is empty - we can delete it!
client.delete_container(self.url, self.token, container)
# Re-run the object-updaters and now container replicas in primary # Re-run the object-updaters and now container replicas in primary
# container servers should get updated # container servers should get updated
Manager(['object-updater']).once() Manager(['object-updater']).once()