Skip to content

Commit

Permalink
Add @EnabledInNativeImage on SeataTest
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Dec 4, 2024
1 parent 87f2b59 commit d3594f7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
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;
Expand All @@ -51,8 +52,9 @@
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")
Expand Down

0 comments on commit d3594f7

Please sign in to comment.