Giter Site home page Giter Site logo

Comments (3)

kquick avatar kquick commented on August 25, 2024

Is this something you can provide a minimal sample that reproduces the issue (or a modification of thespian/tests/test_deadLettering.py)?

from thespian.

mistrey avatar mistrey commented on August 25, 2024

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.

kquick avatar kquick commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.