From 245026cea03d0086d4b252d87dce0bbfa40af338 Mon Sep 17 00:00:00 2001 From: cherrylzhao Date: Tue, 20 Nov 2018 19:33:09 +0800 Subject: [PATCH] #1238 Revise test error. --- .../frontend/common/executor/ExecutorGroupTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharding-proxy/src/test/java/io/shardingsphere/shardingproxy/frontend/common/executor/ExecutorGroupTest.java b/sharding-proxy/src/test/java/io/shardingsphere/shardingproxy/frontend/common/executor/ExecutorGroupTest.java index 7454e48cdcf114..b55c279b6d7b08 100644 --- a/sharding-proxy/src/test/java/io/shardingsphere/shardingproxy/frontend/common/executor/ExecutorGroupTest.java +++ b/sharding-proxy/src/test/java/io/shardingsphere/shardingproxy/frontend/common/executor/ExecutorGroupTest.java @@ -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); } }