]
Issue was automatically transitioned when Michael Musgrove created pull request #1579 in
GitHub
-----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
The test for reading old records should only run against filesystem
stores
--------------------------------------------------------------------------
Key: JBTM-3272
URL:
https://issues.redhat.com/browse/JBTM-3272
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Transaction Core
Affects Versions: 5.10.3.Final
Reporter: Michael Musgrove
Priority: Major
Fix For: 5.next
The test (com.hp.mwtests.ts.arjuna.objectstore.TestJBTM3262) was added while fixing
https://issues.redhat.com/browse/JBTM-3262 in order to verify that records written with
the old string serialization code could be read by later revisions of that code. Since the
same string serialization code is used for all store types we only need to test against a
single store type (adding the same test for all store types would be overkill).
The test is coded to work with stores that inherit from ObjectStore (such as
ShadowNoFileLockStore) but it fails with some store types such as the JDBCStore with the
error:
bq. TestJBTM3249.test:86 com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore cannot
be cast to com.arjuna.ats.arjuna.objectstore.ObjectStore