Hi folks,

I'm working on some testing for the Windows persistence stuff and ran
across a seeming treasure trove of tests in
qpid/tests/src/py/qpid_tests/broker_0_10/dtx.py. What's the status of
these? I haven't found any reference to these tests being run regularly,
and I have some questions about them. Can anyone help me please?

When a bunch of these tests started failing when run against the Windows
persistence stuff, I fixed some problems in the Windows code, but now
I'm seeing a failure that looks like a test problem itself. I can say
this with relative confidence since the test fail is being triggered by
broker code that isn't getting to the store. In
test_invalid_commit_one_phase_true, the code does, effectively:

Start a session
Select dtx
Begin
Send a message
Prepare
Commit (one_phase=true)

The last commit is illegal and the broker correctly reports this; but
then the test tries to do a rollback but the session was disconnected on
the failed commit, so the rollback also fails which is reported in the
test as a broken socket.

Can someone confirm or deny for me:

1. The broker_0_10 tests' reliability and use?
2. The behavior I'm seeing - should the test be changed to re-establish
the session and do the rollback? Or is the test code correct, and is the
session should still be valid after failing the commit?

Thanks,
-Steve


--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to