Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added single.threaded flag to Mariadb test to validate replication in… #781

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading