Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -80,11 +80,13 @@ public class MySqlPluginTest {
@SuppressWarnings("rawtypes") // The type parameter for the container type is just itself and is
// pseudo-optional.
@Container
public static MySQLContainer mySQLContainer = new MySQLContainer(
public static MySQLContainer mySQLContainer = (MySQLContainer) new MySQLContainer(
DockerImageName.parse("mysql/mysql-server:8.0.25").asCompatibleSubstituteFor("mysql"))
.withUsername("mysql")
.withPassword("password")
.withDatabaseName("test_db");
.withDatabaseName("test_db")
// Increased max connections to 400 to support the increased max connection pool size
.withCommand("--max_connections=400");
Comment thread
NilanshBansal marked this conversation as resolved.
Outdated

@SuppressWarnings("rawtypes") // The type parameter for the container type is just itself and is
// pseudo-optional.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ConnectionPoolConfigCETest {
@Test
public void verifyGetMaxConnectionPoolSizeProvidesDefaultValue() {
// this is same as default
Integer connectionPoolMaxSize = 20;
Integer connectionPoolMaxSize = 5;
Comment thread
NilanshBansal marked this conversation as resolved.

Mono<Integer> connectionPoolMaxSizeMono = connectionPoolConfig.getMaxConnectionPoolSize();
StepVerifier.create(connectionPoolMaxSizeMono).assertNext(poolSize -> {
Expand Down