From fa36d01fdbdd7ad6ecd7643c95c2ec95d1e4b4bb Mon Sep 17 00:00:00 2001 From: linghengqian Date: Tue, 14 Jan 2025 21:47:27 +0800 Subject: [PATCH] Fix for connection leaks that only occurred in CI --- .../test/natived/proxy/transactions/base/SeataTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/transactions/base/SeataTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/transactions/base/SeataTest.java index a768dd457ba40..b24222075e1c0 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/transactions/base/SeataTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/transactions/base/SeataTest.java @@ -25,8 +25,8 @@ import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledInNativeImage; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.containers.wait.strategy.Wait; @@ -48,7 +48,7 @@ import static org.hamcrest.Matchers.nullValue; @SuppressWarnings({"SqlNoDataSourceInspection", "resource"}) -@EnabledInNativeImage +@Disabled @Testcontainers class SeataTest {