Skip to content

Commit

Permalink
apache#1238 Revise test error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cherrylzhao authored and maxiaoguang64 committed Nov 25, 2018
1 parent cd1a99f commit 245026c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void setTransactionType(final TransactionType transactionType) throws Re

private ShardingProperties getShardingProperties(final TransactionType transactionType) {
Properties props = new Properties();
props.setProperty(ShardingPropertiesConstant.PROXY_TRANSACTION_ENABLED.getKey(), String.valueOf(transactionType == TransactionType.XA));
props.setProperty(ShardingPropertiesConstant.PROXY_TRANSACTION_TYPE.getKey(), transactionType.name());
return new ShardingProperties(props);
}
}

0 comments on commit 245026c

Please sign in to comment.