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

James Taylor commented on PHOENIX-4731:
---------------------------------------

FYI, [~apurtell]: this fix is included in the omid2 branch and will come in 
when that's merged soon. The way to control for which transaction engine tests 
are run is through the TransactionFactory.Provider constructors, setting second 
argument to true (to run them) or false (to not run them) for each transaction 
provider:
{code:java}
public class TransactionFactory {
    public enum Provider {
        TEPHRA((byte)1, TephraTransactionProvider.getInstance(), false),
        OMID((byte)2, OmidTransactionProvider.getInstance(), true);

{code}

> Make running transactional unit tests for a given provider optional
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-4731
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4731
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Assignee: James Taylor
>            Priority: Major
>             Fix For: 4.15.0
>
>
> Different users may not be relying on transactions, or may only be relying on 
> a single transaction provider. By default, we can run transactional tests 
> across all providers, but we should have a way of disabling the running of a 
> given provider.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to