Comments (3)
Is this something you can provide a minimal sample that reproduces the issue (or a modification of thespian/tests/test_deadLettering.py)?
from thespian.
After replacing multiprocUDPBase
by multiprocQueueBase
in your tests/test_deadLettering.py
, I got 7 failures:
=================================================== short test summary info ===================================================
FAILED test_deadLettering.py::TestFuncDeadLettering::test02_GetDeadLetter[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test03_DLRegisterOnlyOnce[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test13_DLRegisterOnlyOnce[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test04_DLMultipleHandlers[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test14_DLMultipleHandlers[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test05_DLAutoRemoval[multiprocUDPBase] - assert 0 > 0
FAILED test_deadLettering.py::TestFuncDeadLettering::test15_DLAutoRemoval[multiprocUDPBase] - assert 0 > 0
============================= 7 failed, 2079 passed, 254 skipped, 3 xfailed in 2070.49s (0:34:30) =============================
from thespian.
The lines where I assume you made your replacement are unstable_test(..., 'multiprocUDPBase')
lines. Those actually mark the current test as unstable for the indicated base and therefore skipped unless overridden by config (e.g. $ pytest -o unstable=True ...
). The effect of your changes was that you enabled the multiprocUDPBase
tests, which are known to be unstable and resulted in the 7 failures you indicated above (this base is unstable for these tests because a UDP connection neither guarantees delivery nor does it make an active connection that would be reported as broken or which would report delivery failures if the remote node was no longer present, thus a multiprocUDPBase
is not adviseable for this type of operation).
By default and without the changes you made, the multiprocQueueBase
is checked for all tests in test_deadLettering.py
. You can explicitly confirm this and limit the tests to that base via $ pytest -v -k Queue thespian/test/test_deadLettering.py
. Hopefully one of those tests is close to the configuration where you are encountering the dead letter routing problems and you can modify it to demonstrate the behavior you are seeing.
from thespian.
Related Issues (20)
- Low performance sending low latency messages between actors
- Is this project still active? HOT 2
- MultiprocTCPBase cannot determine socket address when computer is offline
- Dynamically creating actors HOT 1
- Getting exceptions While Using "multiprocTCPBase" and logdefs in virtualenvironment HOT 7
- Why do I not see a reply message logging for these "Person" actors? HOT 2
- how to run thespian with an event loop HOT 1
- Error using multiprocQueueBase and multiprocTCPBase HOT 3
- Example http_server2.py doesn't work like described HOT 1
- questions: how can I avoid main thread exits when run actors with multiprocQueueBase HOT 9
- Problem with reaching an actor (from the outside) after a while HOT 5
- question: Is there any way to use/integrate external message broker ? (for example rabbitMQ) HOT 2
- self.createActor() with globalName from inisde an ActorTypeDispatcher increases size of self HOT 1
- Assorted Windows Hiccups HOT 1
- TCPTransport: multiple "dictionary changed size during iteration" issues
- multiprocTCPBase: Example keeps breaking on `InvalidActorSpecification` on my machine HOT 4
- Setting TCP_NODELAY on macOS sometimes fails HOT 9
- MultiProcessQueue crashes on KeyboardInterrupt HOT 5
- `logdirector`'s "Dirty Trick" just bit me. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thespian.