This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7509b2b70f0 Remove useless throw on
SeataATShardingSphereTransactionManagerTest (#39797)
7509b2b70f0 is described below
commit 7509b2b70f0db90c78f2c5f59be9769b1e4932ff
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Sep 11 14:16:50 2026 +0800
Remove useless throw on SeataATShardingSphereTransactionManagerTest (#39797)
---
.../base/seata/at/SeataATShardingSphereTransactionManagerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kernel/transaction/type/base/seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
b/kernel/transaction/type/base/seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
index 6fbc8463cda..55490ae29da 100644
---
a/kernel/transaction/type/base/seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
+++
b/kernel/transaction/type/base/seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingSphereTransactionManagerTest.java
@@ -137,7 +137,7 @@ class SeataATShardingSphereTransactionManagerTest {
}
@Test
- void assertCloseConnectionWhenTransactionOptionReplayFailed() throws
SQLException {
+ void assertCloseConnectionWhenTransactionOptionReplayFailed() {
SQLException expectedException = new SQLException("replay transaction
option failed");
assertThat(assertThrows(SQLException.class, () ->
seataTransactionManager.getConnection("sharding_db", "ds_0", connection -> {
throw expectedException;