Skip to content

Commit

Permalink
Merge pull request #781 from Altinity/780-document-differences-betwee…
Browse files Browse the repository at this point in the history
…n-sink-connector-lightweight-and-materializedpostgresql

Added single.threaded flag to Mariadb test to validate replication in…
  • Loading branch information
subkanthi authored Sep 5, 2024
2 parents b88a562 + 056ba0f commit 6154f2a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* Integration test to validate support for replication of multiple databases.
*/
@Testcontainers
@DisplayName("Integration Test that validates basic replication of MariaDB databases")
@DisplayName("Integration Test that validates basic replication of MariaDB databases in single threaded mode")
public class MariaDBIT
{

Expand Down Expand Up @@ -66,7 +66,7 @@ public void startContainers() throws InterruptedException {
clickHouseContainer.start();
}

@DisplayName("Integration Test that validates handle of JSON data type from MySQL")
@DisplayName("Integration Test that validates replication of MariaDB databases in single.threaded mode")
@Test
public void testMultipleDatabases() throws Exception {

Expand All @@ -77,6 +77,7 @@ public void testMultipleDatabases() throws Exception {
// Set the list of databases captured.
props.put("database.whitelist", "employees,test_db,test_db2");
props.put("database.include.list", "employees,test_db,test_db2");
props.put("single.threaded", true);

ExecutorService executorService = Executors.newFixedThreadPool(1);
executorService.execute(() -> {
Expand Down

0 comments on commit 6154f2a

Please sign in to comment.