You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2024/12/04 02:09:53 UTC
(shardingsphere) branch master updated: Add @EnabledInNativeImage on SeataTest (#33908)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 7541cb56c6c Add @EnabledInNativeImage on SeataTest (#33908)
7541cb56c6c is described below
commit 7541cb56c6c91452b55743984b47d4f86cba953c
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Dec 4 10:09:47 2024 +0800
Add @EnabledInNativeImage on SeataTest (#33908)
---
.../test/natived/proxy/transactions/base/SeataTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 e208494bfde..52fb2340b46 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
@@ -30,6 +30,7 @@ import org.awaitility.Awaitility;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
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;
@@ -51,8 +52,9 @@ import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.nullValue;
@SuppressWarnings({"SqlNoDataSourceInspection", "resource"})
+@EnabledInNativeImage
@Testcontainers
-public class SeataTest {
+class SeataTest {
@Container
public static final GenericContainer<?> CONTAINER = new GenericContainer<>("apache/seata-server:2.2.0")