This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 11dc956366b Fix sonar issue on FirebirdXAConnectionWrapperTest (#34423)
11dc956366b is described below

commit 11dc956366b514d5e9538d2d2fd3a304b94d4fb2
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Jan 21 23:58:10 2025 +0800

    Fix sonar issue on FirebirdXAConnectionWrapperTest (#34423)
---
 .../xa/jta/connection/dialect/FirebirdXAConnectionWrapperTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/kernel/transaction/type/xa/core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/FirebirdXAConnectionWrapperTest.java
 
b/kernel/transaction/type/xa/core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/FirebirdXAConnectionWrapperTest.java
index d0df6086bb0..62248e08542 100644
--- 
a/kernel/transaction/type/xa/core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/FirebirdXAConnectionWrapperTest.java
+++ 
b/kernel/transaction/type/xa/core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/connection/dialect/FirebirdXAConnectionWrapperTest.java
@@ -48,7 +48,8 @@ class FirebirdXAConnectionWrapperTest {
     void assertWrap() throws SQLException {
         XAConnection actual = 
DatabaseTypedSPILoader.getService(XAConnectionWrapper.class, 
databaseType).wrap(createXADataSource(), mockConnection());
         assertThat(actual, instanceOf(FBXAConnection.class));
-        // TODO Fix the error with getting XAResource 
assertThat(actual.getXAResource(), instanceOf(FBXAConnection.class));
+        // TODO Fix the error with getting XAResource
+        // assertThat(actual.getXAResource(), 
instanceOf(FBXAConnection.class));
     }
     
     private XADataSource createXADataSource() {

Reply via email to