Skip to content

Commit

Permalink
chore: Disable MSSql tests as test container is unable to accept conn…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
abhvsn committed Sep 20, 2024
1 parent 1cf043c commit 586e2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.appsmith.external.models.DatasourceStructure;
import com.zaxxer.hikari.HikariDataSource;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.MSSQLServerContainer;
import org.testcontainers.junit.jupiter.Container;
Expand All @@ -22,6 +23,7 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

@Testcontainers
@Disabled
public class MssqlGetDBSchemaTest {
public static final String SQL_QUERY_TO_CREATE_TABLE_WITH_PRIMARY_KEY =
"CREATE TABLE supplier\n" + "( supplier_id int not null,\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.zaxxer.hikari.HikariDataSource;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.MSSQLServerContainer;
import org.testcontainers.junit.jupiter.Container;
Expand Down Expand Up @@ -54,6 +55,7 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

@Testcontainers
@Disabled
public class MssqlPluginTest {

@SuppressWarnings("rawtypes") // The type parameter for the container type is just itself and is pseudo-optional.
Expand Down

0 comments on commit 586e2c1

Please sign in to comment.