@@ -66,7 +66,6 @@ public void testActiveConnectionsWithTenants() throws Exception {
6666 TestingProcessManager .TestingProcess process = TestingProcessManager .start (args , false );
6767 FeatureFlagTestContent .getInstance (process .getProcess ())
6868 .setKeyValue (FeatureFlagTestContent .ENABLED_FEATURES , new EE_FEATURES []{EE_FEATURES .MULTI_TENANCY });
69- Utils .setValueInConfig ("postgresql_minimum_idle_connections" , "10" );
7069 process .startProcess ();
7170 assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STARTED ));
7271
@@ -90,7 +89,6 @@ public void testActiveConnectionsWithTenants() throws Exception {
9089
9190 // change connection pool size
9291 config .addProperty ("postgresql_connection_pool_size" , 20 );
93- config .addProperty ("postgresql_minimum_idle_connections" , 20 );
9492
9593 Multitenancy .addNewOrUpdateAppOrTenant (process .getProcess (), new TenantConfig (
9694 new TenantIdentifier (null , null , "t1" ),
@@ -123,7 +121,6 @@ public void testDownTimeWhenChangingConnectionPoolSize() throws Exception {
123121 FeatureFlagTestContent .getInstance (process .getProcess ())
124122 .setKeyValue (FeatureFlagTestContent .ENABLED_FEATURES , new EE_FEATURES []{EE_FEATURES .MULTI_TENANCY });
125123 process .startProcess ();
126- Utils .setValueInConfig ("postgresql_minimum_idle_connections" , "10" );
127124 assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STARTED ));
128125
129126 Start start = (Start ) StorageLayer .getBaseStorage (process .getProcess ());
@@ -132,7 +129,6 @@ public void testDownTimeWhenChangingConnectionPoolSize() throws Exception {
132129 JsonObject config = new JsonObject ();
133130 start .modifyConfigToAddANewUserPoolForTesting (config , 1 );
134131 config .addProperty ("postgresql_connection_pool_size" , 300 );
135- config .addProperty ("postgresql_minimum_idle_connections" , 300 );
136132 AtomicLong firstErrorTime = new AtomicLong (-1 );
137133 AtomicLong successAfterErrorTime = new AtomicLong (-1 );
138134 AtomicInteger errorCount = new AtomicInteger (0 );
@@ -196,7 +192,6 @@ public void testDownTimeWhenChangingConnectionPoolSize() throws Exception {
196192
197193 // change connection pool size
198194 config .addProperty ("postgresql_connection_pool_size" , 200 );
199- config .addProperty ("postgresql_minimum_idle_connections" , 200 );
200195
201196 Multitenancy .addNewOrUpdateAppOrTenant (process .getProcess (), new TenantConfig (
202197 new TenantIdentifier (null , null , "t1" ),
@@ -271,7 +266,6 @@ public void testMinimumIdleConnectionForTenants() throws Exception {
271266 TestingProcessManager .TestingProcess process = TestingProcessManager .start (args , false );
272267 FeatureFlagTestContent .getInstance (process .getProcess ())
273268 .setKeyValue (FeatureFlagTestContent .ENABLED_FEATURES , new EE_FEATURES []{EE_FEATURES .MULTI_TENANCY });
274- Utils .setValueInConfig ("postgresql_minimum_idle_connections" , "10" );
275269 process .startProcess ();
276270 assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STARTED ));
277271
@@ -326,7 +320,6 @@ public void testIdleConnectionTimeout() throws Exception {
326320 TestingProcessManager .TestingProcess process = TestingProcessManager .start (args , false );
327321 FeatureFlagTestContent .getInstance (process .getProcess ())
328322 .setKeyValue (FeatureFlagTestContent .ENABLED_FEATURES , new EE_FEATURES []{EE_FEATURES .MULTI_TENANCY });
329- Utils .setValueInConfig ("postgresql_minimum_idle_connections" , "10" );
330323 process .startProcess ();
331324 assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STARTED ));
332325
0 commit comments