Joshua Harlow 02a3a39814 Ensure callback variable capture + cleanup is done correctly
It appears the the callback variable that was being called on
future done was not the right one, due to the lambda capture
mechanism referring to a lazy variable which would potentially
be a different callback by the time the future would finish so
make sure we capture the right one and ensure the future has access
to it.

This adds a helper method that submission will go through
to ensure that the callback variable is correctly captured
in the created lambda and also ensures that the incomplete futures
list is cleaned up (when the future is done).

The notification listener tests use now eventlet to show up this
issue that doesn't occur with blocking executor.

Closes-bug: #1474943

Closes-bug: #1475307

Change-Id: I23e393d504662532572b5b344b87387be6d7bcb1
2015-07-16 22:05:58 +00:00
2014-01-15 04:08:18 +00:00
2015-01-26 21:55:20 +00:00
2015-03-12 16:38:51 -07:00
2014-06-05 22:48:44 +02:00
2015-07-01 11:46:34 +00:00
2015-07-06 12:02:54 +03:00
2015-07-02 16:51:42 +03:00
2015-07-13 21:12:35 +00:00

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

Description
OpenStack library for messaging
Readme 36 MiB
Languages
Python 99.8%
Shell 0.2%