[ 
https://issues.apache.org/jira/browse/JENA-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307222#comment-16307222
 ] 

Andy Seaborne commented on JENA-1457:
-------------------------------------

Some graphs support transactional and non-transactional behaviour. The contract 
tests have no way to be configured.

At the moment, TDB2 requires explicit transactions and it's the only one of the 
project's storage components that does.  TIM and TDB1 do not require 
transactions, though once a TDB1 dataset has been used transactionally, it must 
always be used transactionally. This does not apply to TIM.

As we have seen on dev@, some tests are not about the graph contract. If two 
graphs are involved, the contract says nothing about their interacting 
behaviour, and shouldn't because the choices are part of why one storage 
component is chosen over another . (Graph capabilities can not capture this as 
it is a closed up-front set of options.

> Graph contract tests do not properly support transactions
> ---------------------------------------------------------
>
>                 Key: JENA-1457
>                 URL: https://issues.apache.org/jira/browse/JENA-1457
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Core
>            Reporter: Claude Warren
>            Priority: Minor
>
> The Contract test for Graphs do not properly support transactions.  
> Specifically, if the graph supports transactions all actions should be 
> enclosed within a transaction.
> The easiest test for this is to test the GraphTxnTDB implementation as it 
> will fail if transactions are not properly used.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to