Merge "In benchmark observer worker, include claimed messages when listing"

This commit is contained in:
Jenkins 2014-09-04 23:49:51 +00:00 committed by Gerrit Code Review
commit 89ee4ce263
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ def observer(queues, stats, test_duration, limit):
try:
marktime.start('list_messages')
cursor = queue['q'].messages(limit=limit, marker=queue['m'])
cursor = queue['q'].messages(limit=limit, marker=queue['m'],
include_claimed=True)
total_elapsed += marktime.stop('list_messages').seconds
total_succeeded += 1