Skip to content

Commit c0605e9

Browse files
Ignore other Bulk Migration LT (#2391)
* added new username, password and host shared by google team * fixed spotless issue * ignored other tests
1 parent e617e14 commit c0605e9

File tree

9 files changed

+20
-8
lines changed

9 files changed

+20
-8
lines changed

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpanner100GbLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpanner100GbLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100Gb() throws IOException, ParseException, InterruptedException {

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpannerBlobTableLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpannerBlobTableLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100GbBlobTable() throws IOException, ParseException, InterruptedException {

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpannerForeignKeyLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpannerForeignKeyLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100GbForeignKeyTable()

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpannerInterleavedTableLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpannerInterleavedTableLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100GbInterleavedTable()

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpannerTallTableLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpannerTallTableLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100GbTallTable() throws IOException, ParseException, InterruptedException {

v2/datastream-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/DataStreamToSpannerWideTableLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24+
import org.junit.Ignore;
2425
import org.junit.Test;
2526
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(DataStreamToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class DataStreamToSpannerWideTableLT extends DataStreamToSpannerLTBase {
3436
@Test
3537
public void backfill100GbWideTable() throws IOException, ParseException, InterruptedException {

v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/MySQLSourceDbToSpannerLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.text.ParseException;
2323
import java.util.HashMap;
2424
import java.util.Map;
25+
import org.junit.Ignore;
2526
import org.junit.Test;
2627
import org.junit.experimental.categories.Category;
2728
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(SourceDbToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class MySQLSourceDbToSpannerLT extends SourceDbToSpannerLTBase {
3436

3537
private static final String WORKER_MACHINE_TYPE = "n1-highmem-96";

v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/MySQLSourceDbtoSpannerWideRow10MBPerCellLT.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@ public class MySQLSourceDbtoSpannerWideRow10MBPerCellLT extends SourceDbToSpanne
3636
public void mySQLToSpannerWideRow10MBPerCellTest() throws Exception {
3737

3838
String username =
39-
accessSecret(
40-
"projects/269744978479/secrets/nokill-sourcedb-mysql-to-spanner-cloudsql-username/versions/1");
39+
accessSecret("projects/269744978479/secrets/wide-row-table-username/versions/1");
4140
String password =
42-
accessSecret(
43-
"projects/269744978479/secrets/nokill-sourcedb-mysql-to-spanner-cloudsql-password/versions/1");
41+
accessSecret("projects/269744978479/secrets/wide-row-table-password/versions/1");
4442
String database = "10MBStringCell";
45-
String host =
46-
accessSecret(
47-
"projects/269744978479/secrets/nokill-sourcedb-mysql-to-spanner-cloudsql-ip-address/versions/1");
43+
String host = accessSecret("projects/269744978479/secrets/wide-row-table-host/versions/1");
4844
int port = 3306;
4945

5046
setUp(SQLDialect.MYSQL, host, port, username, password, database);
@@ -53,7 +49,7 @@ public void mySQLToSpannerWideRow10MBPerCellTest() throws Exception {
5349
Map<String, Integer> expectedCountPerTable =
5450
new HashMap<>() {
5551
{
56-
put("WideRowTable", 20000);
52+
put("WideRowTable", 10000);
5753
}
5854
};
5955

v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/templates/loadtesting/PostgreSQLSourceDbToSpannerLT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.text.ParseException;
2323
import java.util.HashMap;
2424
import java.util.Map;
25+
import org.junit.Ignore;
2526
import org.junit.Test;
2627
import org.junit.experimental.categories.Category;
2728
import org.junit.runner.RunWith;
@@ -30,6 +31,7 @@
3031
@Category(TemplateLoadTest.class)
3132
@TemplateLoadTest(SourceDbToSpanner.class)
3233
@RunWith(JUnit4.class)
34+
@Ignore("Ignoring tests for now.")
3335
public class PostgreSQLSourceDbToSpannerLT extends SourceDbToSpannerLTBase {
3436

3537
@Test

0 commit comments

Comments
 (0)