Skip to content

Commit

Permalink
disable all passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-airbyte committed Feb 27, 2024
1 parent 0dca925 commit cc8ac8f
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.airbyte.protocol.models.v0.SyncMode;
import java.util.List;
import java.util.stream.Collectors;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

public class CdcMssqlSourceAcceptanceTest extends SourceAcceptanceTest {
Expand Down Expand Up @@ -173,17 +172,4 @@ private List<AirbyteStateMessage> filterStateMessages(final List<AirbyteMessage>
.collect(Collectors.toList());
}

@Test
@Disabled
public void testIdenticalFullRefreshes() throws Exception {
super.testIdenticalFullRefreshes();
}

@Test
@Disabled
@Override
public void testEntrypointEnvVar() throws Exception {
super.testEntrypointEnvVar();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
import io.airbyte.cdk.integrations.standardtest.source.TestDestinationEnv;
import io.airbyte.integrations.source.mssql.MsSQLTestDatabase.BaseImage;
import io.airbyte.integrations.source.mssql.MsSQLTestDatabase.ContainerModifier;
import org.junit.jupiter.api.Disabled;

@Disabled
public class CdcMssqlSourceDatatypeTest extends AbstractMssqlSourceDatatypeTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import io.airbyte.cdk.integrations.standardtest.source.TestDestinationEnv;
import io.airbyte.commons.features.FeatureFlags;
import io.airbyte.commons.features.FeatureFlagsWrapper;
import org.junit.jupiter.api.Disabled;

@Disabled
public class CloudDeploymentSslEnabledMssqlSourceAcceptanceTest extends MssqlSourceAcceptanceTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
import java.util.HashMap;
import java.util.List;
import java.util.stream.Collectors;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlSourceAcceptanceTest extends SourceAcceptanceTest {

protected static final String SCHEMA_NAME = "dbo";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
import com.fasterxml.jackson.databind.JsonNode;
import io.airbyte.cdk.db.Database;
import io.airbyte.integrations.source.mssql.MsSQLTestDatabase.BaseImage;
import org.junit.jupiter.api.Disabled;

@Disabled
public class MssqlSourceDatatypeTest extends AbstractMssqlSourceDatatypeTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
import java.util.List;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlSourceOperationsTest {

private final MssqlSourceOperations mssqlSourceOperations = new MssqlSourceOperations();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import com.fasterxml.jackson.databind.JsonNode;
import io.airbyte.cdk.integrations.standardtest.source.TestDestinationEnv;
import org.junit.jupiter.api.Disabled;

@Disabled
public class SslEnabledMssqlSourceAcceptanceTest extends MssqlSourceAcceptanceTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.TestInstance.Lifecycle;
Expand Down Expand Up @@ -478,30 +477,4 @@ protected void waitForCdcRecords(String schemaName, String tableName, int record
testdb.waitForCdcRecords(schemaName, tableName, recordCount);
}

@Disabled
@Test
protected void testRecordsProducedDuringAndAfterSync() throws Exception {
super.testRecordsProducedDuringAndAfterSync();
}

@Disabled
@Test
void testNoDataOnSecondSync() throws Exception {}

@Disabled
@Test
void testCdcAndFullRefreshInSameSync() {}

@Test
@Disabled
public void testDelete() throws Exception {

}

@Test
@Disabled
public void testUpdate() throws Exception {

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class CdcStateCompressionTest {

static private final String CDC_ROLE_NAME = "cdc_selector";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
import io.airbyte.commons.features.EnvVariableFeatureFlags;
import io.airbyte.commons.features.FeatureFlagsWrapper;
import io.airbyte.protocol.models.v0.AirbyteConnectionStatus;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Execution;
import org.junit.jupiter.api.parallel.ExecutionMode;

@Execution(ExecutionMode.CONCURRENT)
@Disabled
public class CloudDeploymentMssqlTest {

private MsSQLTestDatabase createTestDatabase(String... containerFactoryMethods) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import com.fasterxml.jackson.databind.JsonNode;
import io.airbyte.commons.json.Jsons;
import java.util.Map;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
class MssqlCdcHelperTest {

private static final JsonNode LEGACY_NON_CDC_CONFIG = Jsons.jsonNode(Map.of("replication_method", "STANDARD"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
import io.airbyte.cdk.db.factory.DataSourceFactory;
import java.util.Map;
import javax.sql.DataSource;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlDataSourceFactoryTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import io.airbyte.integrations.source.mssql.cdc.MssqlDebeziumStateUtil;
import io.airbyte.integrations.source.mssql.cdc.MssqlDebeziumStateUtil.MssqlDebeziumStateAttributes;
import io.debezium.connector.sqlserver.Lsn;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlDebeziumStateUtilTest {

private static String DB_NAME = "db_name";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
import io.airbyte.integrations.source.mssql.MssqlQueryUtils.TableSizeInfo;
import io.airbyte.integrations.source.mssql.initialsync.MssqlInitialLoadHandler;
import io.airbyte.protocol.models.AirbyteStreamNameNamespacePair;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlInitialLoadHandlerTest {

private static final long ONE_GB = 1_073_741_824;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@Disabled
public class MssqlJdbcSourceAcceptanceTest extends JdbcSourceAcceptanceTest<MssqlSource, MsSQLTestDatabase> {

protected static final String USERNAME_WITHOUT_PERMISSION = "new_user";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.util.List;
import org.junit.jupiter.api.*;

@Disabled
class MssqlSourceTest {

private static final String STREAM_NAME = "id_and_name";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
import java.util.Map;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Disabled
public class MssqlSslSourceTest {

private MsSQLTestDatabase testDb;
Expand Down

0 comments on commit cc8ac8f

Please sign in to comment.