35 Commits

Author SHA1 Message Date
James Page
cd71c47d32 Add functional and unit 0mq driver tests
Basic functional and unit tests for zmq driver.

Note as the zmq driver is directly dependent on eventlet, this
change also updates the notify logger tests to remove the
direct dependency on threading which was being monkey patched,
causing test failures.

As the zmq driver has a direct dependency on eventlet, tests are
skipped under py3.

Co-Authored-By: Kapil Thangavelu <kapil.thangavelu@canonical.com>
Co-Authored-By: Edward Hope-Morley <edward.hope-morley@canonical.com>

Change-Id: I93b8b2e92d0f2a353d3357a5e61f6d472ec84944
Partial-bug: #1302941
2014-12-09 15:02:31 +00:00
OpenStack Proposal Bot
a5ffc62dc8 Updated from global requirements
Change-Id: Ic229d9afdaf01abeff54d1087c21c70b25dcb0dd
2014-11-20 14:11:29 +00:00
Jenkins
437915b3db Merge "Add basic tests for 0mq matchmakers" 2014-11-19 18:34:58 +00:00
OpenStack Proposal Bot
442d8b9e77 Updated from global requirements
Change-Id: I9d04f270038ba647a4a0ad849270aca2ea879874
2014-11-18 11:36:17 +00:00
James Page
5aadc56b66 Add basic tests for 0mq matchmakers
Basic unit tests for in-memory (localhost), ring and Redis based
matchmakers.

Redis tests are opportunitic based on a redis-server being installed
and running.

Test are currently skipped under py3 due to direct dependency on
eventlet.

Co-Authored-By: Kapil Thangavelu <kapil.thangavelu@canonical.com>
Change-Id: I59c4d095033370ab94f645af0d50e2502530f816
Partial-bug: #1302941
2014-11-17 21:34:29 -06:00
OpenStack Proposal Bot
a3ca0e5d70 Updated from global requirements
Change-Id: I19c88980d8f12d9725a80e05cbb5418470e6bf37
2014-11-05 08:34:59 +00:00
OpenStack Proposal Bot
0088ac9b27 Updated from global requirements
Change-Id: Ide39cf1435d22ff55ed92b6b6d24979077a526cd
2014-10-22 19:16:42 +00:00
OpenStack Proposal Bot
a87aa3ef00 Updated from global requirements
Change-Id: I69d69ae9153769414d76b63ccb59fdd8ff06d01b
2014-10-13 18:50:26 +00:00
OpenStack Proposal Bot
5fd9845d2e Updated from global requirements
Change-Id: I10186a04dd5a487a363d9041cf5728af97344d61
2014-09-19 08:51:00 +00:00
OpenStack Proposal Bot
f44b61295a Updated from global requirements
Change-Id: Ib339bbd3d796ae0ee0462ddb561ef87d43848cb5
2014-09-13 07:27:40 +00:00
Doug Hellmann
b9a917c2e2 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
2014-09-03 14:23:10 -04:00
Christian Berendt
6684565d84 Bump hacking to version 0.9.2
Change-Id: Ie0525e203bf4fd91c8dbcbcd6aab6acac191a53a
2014-07-16 16:26:24 +02:00
OpenStack Proposal Bot
d3adde6b97 Updated from global requirements
Change-Id: I71fd4b1292d68279d75569dc022745b75da66eab
2014-06-18 16:11:34 +00:00
Davanum Srinivas
d0254b736e Bump hacking to 0.9.x series
In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.

Change-Id: I5711e066da1076486d291bc4f45359ecb26e1b1a
2014-06-12 09:53:40 -04:00
OpenStack Proposal Bot
ea989b8f95 Updated from global requirements
Change-Id: I6a2fe617cab3370b13de3e45f52076e53d260724
2014-05-28 19:20:05 +00:00
Doug Hellmann
57ebe0d83d Clean up for qpid tests
Use the config object in the base class, and define a local
base class for managing connections instead of repeating
that code in several places.

Change-Id: I7816a467da449ba172dbaa23e58b511adc1ba40a
2014-03-19 13:25:48 +01:00
Clint Byrum
52bc704b6e Add kombu driver library to requirements.txt
The RabbitMQ driver is the default driver for oslo.messaging, so it
makes some sense to require this by default. This is consistent with
the way e.g. Nova has always required kombu.

Change-Id: Ibcab58e3f3edce794b571cfabc0a5bcf96c9b47e
Closes-Bug: #1288425
2014-03-18 11:52:47 +00:00
Numan Siddique
c872f8d670 Adds unit test cases to impl_qpid
Change-Id: I0c056efd9fb8b48d02a11dfb969ee98b736ba017
Closes-Bug: #1255239
2014-03-03 21:01:32 +05:30
OpenStack Jenkins
35f6d588a3 Updated from global requirements
Change-Id: Iddf9be2b384f9c0871a2baf59e94ec5201ca37c6
2014-02-28 08:00:27 +00:00
Jeremy Hanmer
fb453e4f08 Convert to oslo.test
bp graduate-oslo-test

Change-Id: Iff1eebac011dab26468a7f1475b5c36b0bb2a7d2
2014-02-26 17:06:03 -08:00
Dirk Mueller
de6d92fb92 Switch over to oslosphinx
Having the sphinx theme in the same namespace package
as the production code has been causing issues with
devstack installations. The solution settled on was
to rename oslo.sphinx to oslosphinx because oslo.sphinx
is not a "production" library.

See the linked bug report for more background details.

Closes-Bug: #1277168
Change-Id: I220b8901cef36499e91b92719f1e8e5461a95e92
2014-02-14 10:09:13 +00:00
Dirk Mueller
60b6a9fe9d python3: Switch to mox3 instead of mox
In order to transition to a python 3.x compatible world,
lets switch to mox3 which is python 3.x compatible drop-in
replacement of mox.

Change-Id: Iaa22779cd516f842c9f70828f863f90ddae0bab5
2014-01-16 14:31:01 +01:00
Dirk Mueller
f5df5cb177 Remove dependencies on pep8, pyflakes and flake8
They should be determined by the hacking dependency
implicitely.

Change-Id: I2baec6b652baa2efbbf5dd2ead0eeb91b961210b
2014-01-16 13:05:13 +01:00
OpenStack Jenkins
33202134bd Updated from global requirements
Change-Id: Iec5cac6baeba71e6724fd6270f3d5dd87f1e730d
2013-12-10 23:44:54 +00:00
Julien Danjou
f9ab2e105f Implement a log handler using notifier
Change-Id: Iccac043d46a733e965b3310bbbe9c7d6c07a46ac
Blueprint: logging-and-notification
2013-11-29 16:15:09 +01:00
OpenStack Jenkins
0d54ae4a2f Updated from global requirements
Change-Id: I9d453b1270f82821273b1cc654e031599c1f9f77
2013-11-11 18:49:45 +00:00
OpenStack Jenkins
2aa1dc6ca3 Updated from global requirements
Change-Id: I81e3d4bf4eef833b0b55d17e2a55028972ea4b55
2013-10-01 16:14:29 +00:00
Jenkins
f0bb1dac2e Merge "Bumps hacking to 0.7.0" 2013-08-17 17:10:26 +00:00
Mark McLoughlin
a2f99ad35e Remove ConfFixture from toplevel public API
There's no need to make the fixtures, testtools, etc. libraries a
runtime requirement, so let's move it from the toplevel oslo.messaging
API so you need to explicitly import it.

Change-Id: I9e2f32a898d78489f2d8d9c218c81f35cda14e34
2013-08-17 17:49:23 +01:00
Zhongyue Luo
f4e4f45433 Bumps hacking to 0.7.0
Change-Id: Ife77d8c6a2a479fce0a7879fb72c0b44e1287324
2013-08-16 14:36:42 +08:00
Mark McLoughlin
fbe3192d9a Add a unit testing configuration fixture
The configuration options registered by oslo.messaging should not be
directly relied upon by users of the library, since those config option
names could change in future.

Add an API which allows API users to override specific configuration
options e.g.

    self.messaging_conf = self.useFixture(messaging.ConfFixture(cfg.CONF))
    self.messaging_conf.transport_driver = 'fake'

Change-Id: If0d837e1b86e3b04237fde522551cfb81505a543
2013-08-13 13:52:42 +01:00
Mark McLoughlin
5be559405a Add simple rabbit driver unit test
Change-Id: I1ae6b31f422f8a6e17c985d64a830b7475e7d97e
2013-07-27 15:54:06 +01:00
Sergey Lukjanov
8eeaf67be9 Allow use of hacking 0.6.0 and fix min version
Change-Id: I91d8eafc2fa50cb4fab4df2960274be2f5c237a4
2013-07-20 00:55:36 +04:00
Mark McLoughlin
3e8c891d67 Use oslo.sphinx and remove local copy of doc theme
Use the new oslo.sphinx version of the OpenStack doc
theme instead of copying it into this repo.

blueprint oslo.sphinx

Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8
2013-07-10 08:51:37 +01:00
Mark McLoughlin
b5c41bba00 Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00