There are a lot of warning during Infinispan tests:
WARN [org.infinispan.server.hotrod.Decoder2x] (HotRod-ServerWorker-3-2) ISPN006011: Operation 'REPLACE_IF_UNMODIFIED' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
155 WARN [org.infinispan.server.hotrod.Decoder2x] (HotRod-ServerWorker-3-2) ISPN006011: Operation 'PUT_IF_ABSENT' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
157 WARN [org.infinispan.server.hotrod.Decoder2x] (HotRod-ServerWorker-3-2) ISPN006011: Operation 'REMOVE' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
This just means the Cache should use transactions in the Infinispan Server configuration. However, we don't need this to run unit tests.
We opened a new JIRA issue to allow the user to use a predefined cache as template for all caches created by the dialect.
This feature could be used to set transactional configuration.