Fix the issue of raising the StopIteration
This issue caused the failure of tempest in Jekins. Change-Id: Ib8f362b5a65e5e12fdeedd7e35620df5f52f4382
This commit is contained in:
parent
bd4e5b62fc
commit
eeabc5d208
@ -1,8 +1,8 @@
|
||||
alembic==0.8.10
|
||||
alembic==0.9.6
|
||||
autobahn==20.7.1
|
||||
Babel==2.3.4
|
||||
coverage==4.0
|
||||
cryptography==2.1
|
||||
cryptography==2.7
|
||||
ddt==1.0.1
|
||||
doc8==0.6.0
|
||||
dogpile.cache==1.0.2
|
||||
@ -51,7 +51,7 @@ requests==2.14.2
|
||||
requestsexceptions==1.2.0
|
||||
restructuredtext-lint==1.1.1
|
||||
rfc3986==0.3.1
|
||||
six==1.10.0
|
||||
six==1.11.0
|
||||
SQLAlchemy==1.3.19
|
||||
sqlalchemy-migrate==0.11.0
|
||||
stestr==2.0.0
|
||||
@ -61,7 +61,7 @@ testresources==2.0.0
|
||||
testscenarios==0.4
|
||||
testtools==2.2.0
|
||||
trollius==2.1;python_version=='2.7'
|
||||
txaio==2.8.2
|
||||
txaio==20.3.1
|
||||
urllib3==1.21.1
|
||||
WebOb==1.7.1
|
||||
websocket-client==0.44.0
|
||||
|
@ -3,9 +3,9 @@
|
||||
# process, which may cause wedges in the gate later.
|
||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
|
||||
alembic>=0.8.10 # MIT
|
||||
alembic>=0.9.6 # MIT
|
||||
Babel!=2.4.0,>=2.3.4 # BSD
|
||||
cryptography>=2.1 # BSD/Apache-2.0
|
||||
cryptography>=2.7 # BSD/Apache-2.0
|
||||
falcon>=1.1.0 # Apache-2.0
|
||||
jsonschema>=3.2.0 # MIT
|
||||
iso8601>=0.1.11 # MIT
|
||||
@ -15,7 +15,7 @@ python-memcached>=1.56 # PSF
|
||||
python-swiftclient>=3.2.0 # Apache-2.0
|
||||
WebOb>=1.7.1 # MIT
|
||||
stevedore>=1.20.0 # Apache-2.0
|
||||
six>=1.10.0 # MIT
|
||||
six>=1.11.0 # MIT
|
||||
oslo.cache>=1.26.0 # Apache-2.0
|
||||
oslo.config>=5.2.0 # Apache-2.0
|
||||
oslo.context>=2.19.2 # Apache-2.0
|
||||
|
@ -16,7 +16,7 @@ PyMySQL>=0.8.0 # MIT License
|
||||
|
||||
# Unit testing
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
cryptography>=2.1 # BSD/Apache-2.0
|
||||
cryptography>=2.7 # BSD/Apache-2.0
|
||||
ddt>=1.0.1 # MIT
|
||||
doc8>=0.6.0 # Apache-2.0
|
||||
Pygments>=2.2.0 # BSD license
|
||||
|
8
tox.ini
8
tox.ini
@ -1,7 +1,10 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = py37,pep8
|
||||
minversion = 3.1.0
|
||||
envlist = py3,pep8
|
||||
skipsdist = True
|
||||
# this allows tox to infer the base python from the environment name
|
||||
# and override any basepython configured in this file
|
||||
ignore_basepython_conflict=true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
@ -116,6 +119,5 @@ paths = ./zaqar/hacking
|
||||
|
||||
[testenv:lower-constraints]
|
||||
deps =
|
||||
-c{toxinidir}/lower-constraints.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
@ -216,7 +216,7 @@ class MessageController(storage.Message):
|
||||
|
||||
def bulk_get(self, queue, message_ids, project=None):
|
||||
if not self._queue_ctrl.exists(queue, project):
|
||||
raise StopIteration()
|
||||
return
|
||||
|
||||
for id in message_ids:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user