[
https://issues.jboss.org/browse/JBTM-949?page=com.atlassian.jira.plugin.s...
]
Paul Robinson updated JBTM-949:
-------------------------------
Component/s: XTS
Automate the verification of trace output from the XTS crash recovery
tests
---------------------------------------------------------------------------
Key: JBTM-949
URL:
https://issues.jboss.org/browse/JBTM-949
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: XTS
Reporter: Paul Robinson
Assignee: Paul Robinson
Fix For: 5.0.0.Final
Currently it is very difficult to verify the trace output from the XTS crash recovery
tests. With the current code it is infeasible to run multiple servers as the trace output
will span many files making it difficult to establish the correct order in which events
occurred.
I think, the following changes will make the test verification automatic and the tests
scalable to many participants:
# Carry out assertions in Byteman as the test progresses. Assertions at Runtime should be
more flexible as more info is available.
# Each participant is concerned only with the correctness of their own participation.
This is key to scalability to many participants.
# Anything that can't be solved by the above is dumped to one trace file per server
and is hopefuly simple enough for scriptable post-verification.
I think my idea needs prototyping first to check that it is feasible in practice.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira