Skip to content

Commit a954c65

Browse files
authored
Revert "Ignore other Bulk Migration LT (#2391)"
This reverts commit c0605e9.
1 parent c0605e9 commit a954c65

File tree

9 files changed

+8
-20
lines changed

9 files changed

+8
-20
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpanner100GbLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpannerBlobTableLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpannerForeignKeyLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
public void backfill100GbForeignKeyTable()

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpannerInterleavedTableLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
public void backfill100GbInterleavedTable()

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpannerTallTableLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.text.ParseException;
2222
import java.util.HashMap;
2323
import org.apache.beam.it.gcp.datastream.JDBCSource;
24-
import org.junit.Ignore;
2524
import org.junit.Test;
2625
import org.junit.experimental.categories.Category;
2726
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(DataStreamToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class DataStreamToSpannerWideTableLT extends DataStreamToSpannerLTBase {
3634
@Test
3735
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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.text.ParseException;
2323
import java.util.HashMap;
2424
import java.util.Map;
25-
import org.junit.Ignore;
2625
import org.junit.Test;
2726
import org.junit.experimental.categories.Category;
2827
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(SourceDbToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class MySQLSourceDbToSpannerLT extends SourceDbToSpannerLTBase {
3634

3735
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: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,15 @@ public class MySQLSourceDbtoSpannerWideRow10MBPerCellLT extends SourceDbToSpanne
3636
public void mySQLToSpannerWideRow10MBPerCellTest() throws Exception {
3737

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

4650
setUp(SQLDialect.MYSQL, host, port, username, password, database);
@@ -49,7 +53,7 @@ public void mySQLToSpannerWideRow10MBPerCellTest() throws Exception {
4953
Map<String, Integer> expectedCountPerTable =
5054
new HashMap<>() {
5155
{
52-
put("WideRowTable", 10000);
56+
put("WideRowTable", 20000);
5357
}
5458
};
5559

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.text.ParseException;
2323
import java.util.HashMap;
2424
import java.util.Map;
25-
import org.junit.Ignore;
2625
import org.junit.Test;
2726
import org.junit.experimental.categories.Category;
2827
import org.junit.runner.RunWith;
@@ -31,7 +30,6 @@
3130
@Category(TemplateLoadTest.class)
3231
@TemplateLoadTest(SourceDbToSpanner.class)
3332
@RunWith(JUnit4.class)
34-
@Ignore("Ignoring tests for now.")
3533
public class PostgreSQLSourceDbToSpannerLT extends SourceDbToSpannerLTBase {
3634

3735
@Test

0 commit comments

Comments
 (0)