Skip to content

Commit

Permalink
Disble some tests to run only the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-psaha committed Jan 6, 2024
1 parent 9da3173 commit 1f996b7
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/test/java/net/snowflake/ingest/SimpleIngestIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.junit.Test;

/** Example ingest sdk integration test */
@Ignore
public class SimpleIngestIT {
private final String TEST_FILE_NAME = "test1.csv";
private final String TEST_FILE_NAME_2 = "test2.csv";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@
import net.snowflake.ingest.utils.ParameterProvider;
import net.snowflake.ingest.utils.SFException;
import net.snowflake.ingest.utils.SnowflakeURL;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.*;
import org.mockito.ArgumentMatchers;
import org.mockito.Mockito;

/** Example streaming ingest sdk integration test */
@Ignore
public class StreamingIngestIT {
private static final String TEST_TABLE = "STREAMING_INGEST_TEST_TABLE";
private static final String TEST_DB_PREFIX = "STREAMING_INGEST_TEST_DB";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import net.snowflake.ingest.utils.HttpUtil;
import net.snowflake.ingest.utils.SnowflakeURL;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
Expand All @@ -27,6 +28,7 @@
@RunWith(PowerMockRunner.class)
@PrepareForTest({JWTManager.class})
@PowerMockIgnore({"javax.net.ssl.*"}) /* Avoid ssl related exception from power mockito*/
@Ignore
public class StreamingIngestUtilsIT {
@Test
public void testJWTRetries() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package net.snowflake.ingest.streaming.internal.datatypes;

import org.bouncycastle.util.encoders.Hex;
import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class BinaryIT extends AbstractDataTypeTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
import java.time.ZonedDateTime;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class DateTimeIT extends AbstractDataTypeTest {

private static final ZoneId TZ_LOS_ANGELES = ZoneId.of("America/Los_Angeles");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

import java.math.BigDecimal;
import java.math.BigInteger;

import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class LogicalTypesIT extends AbstractDataTypeTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package net.snowflake.ingest.streaming.internal.datatypes;

import java.util.Arrays;

import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class NullIT extends AbstractDataTypeTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

import java.math.BigDecimal;
import java.math.BigInteger;

import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class NumericTypesIT extends AbstractDataTypeTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.junit.Ignore;
import org.junit.Test;

@Ignore
public class StringsIT extends AbstractDataTypeTest {

private static final int MB_16 = 16 * 1024 * 1024;
Expand Down

0 comments on commit 1f996b7

Please sign in to comment.