summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_utils_async_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump futurist and remove waiting code in taskflowJoshua Harlow2015-07-251-54/+0
| | | | Change-Id: Ifc9780aa129a4a2804cead301a519895c2bfc0b5
* Integrate futurist (and **remove** taskflow originating code)Joshua Harlow2015-07-091-7/+7
| | | | Change-Id: If89baa042695f19e42b6368034f3ccf22c2cf0aa
* Use newer versions of futures that adds exception tracebacksJoshua Harlow2015-05-121-7/+0
| | | | | | Depends-On: I36f1241b983f6552d8bd0471e6a7485532a95a14 Change-Id: I49899019c4a1683bc6664cf0a52dcd5151b6e282
* Add back a 'eventlet_utils' helper utility moduleJoshua Harlow2015-01-161-1/+2
| | | | | | | | | | | Recreate a very simple eventlet utility module that has only a few features; one function checks if eventlet is available and if not raise an exception; and a constant that can be used by calling code (such as tests or other optional functionality) to check if eventlet is useable before proceeding. Change-Id: I32df0702eeae7c7c78972c9796156dd824b2f123
* Add a futures type that can unify our future functionalityJoshua Harlow2014-10-181-25/+20
| | | | | | | | | | | | | | | | | Move the currently existing green future executor and associated code to a new futures types module so that it can be accessed from this new location (TODO: deprecate the old location and link the old to the new for one release so that we can remove the old link in N + 1 release). This unifies the API that the existing pool (thread or process) future executors and the green thread pool future executor, and the newly added synchronous executor (replacing the previous `make_completed_future` function) provide so there usage is as seamless as possible. Part of blueprint top-level-types Change-Id: Ie5500eaa7f4425edb604b2dd13a15f82909a673b
* Enabled hacking checks H305 and H307Christian Berendt2014-07-171-2/+1
| | | | | | | * H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: If1dd9c89f65ede6959865a885777cb08c263eca0
* Use futures wait() when possibleJoshua Harlow2014-05-141-15/+9
| | | | | | | | | Instead of always using our custom future wait functionality, only use that functionality if there are green futures and in other cases just use the future wait() function instead. Change-Id: I1eadcf53eb4b5f47b9543965610bfe04fec52e70
* Remove extraneous vim configuration commentsyangxurong2014-02-141-2/+0
| | | | | | | | | Remove line containing comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4 Change-Id: I7581cc88b8de433d5609ed06c6570b0b45c13573 Closes-Bug:#1229324
* Clean-up and improve async-utils testsskudriashev2014-01-261-28/+62
| | | | Change-Id: I181dc1ee9168279e15dd8d3cc162c0b85adb5346
* Add make_completed_future to async_utilsIvan A. Melnikov2013-12-251-0/+67
Instead of keeping this three lines of code inside one of executors, we move them to special utility for farther re-use. Change-Id: I8f0ed76737fe29ad9492260cb84b66d09ec07f70