zaqar/marconi/tests/transport
Alejandro Cabrera ed40dfd17c fix(storage/mongo): unclaimed messages not listed
Adds a unit test that reproduces this error and applies the fix.

The fix is subtle. When messages are unclaimed, their claim expiration
time and claim ID are set to 0 and None respectively. The cause for
the bug is that claim expiration time is set to 0, rather than a valid
datetime object. As a result, the comparison silently fails.

The fix: fast-forward the expiration time of a claim to now.

Change-Id: I7781795c394b2a471012e072a522ee228d56a894
Closes-Bug: #1210633
2013-08-12 16:09:31 -04:00
..
wsgi fix(storage/mongo): unclaimed messages not listed 2013-08-12 16:09:31 -04:00
__init__.py feat(transport.wsgi): Create or update queue 2013-03-19 16:54:08 -04:00
test_auth.py Added some de-facto style guidelines to HACKING and fixed violations 2013-06-17 09:58:30 -04:00