File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/test/java/org/apache/commons/pool3/impl Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -298,18 +298,16 @@ void testStatsStoreCircularBuffer() throws Exception {
298298 assertTrue (pool .getMeanBorrowWaitTimeMillis () >= 50 ); // Should be influenced by recent higher values
299299 }
300300
301- @ Test
301+ @ Test
302302 void testDetailedStatisticsConfigIntegration () {
303303 // Test that config property is properly applied during pool construction
304304 final GenericObjectPoolConfig <String > config = new GenericObjectPoolConfig <>();
305305 config .setCollectDetailedStatistics (false );
306306 try (GenericObjectPool <String , TestException > testPool = new GenericObjectPool <>(factory , config )) {
307- assertFalse (testPool .getCollectDetailedStatistics (),
308- "Pool should respect collectDetailedStatistics setting from config" );
307+ assertFalse (testPool .getCollectDetailedStatistics (), "Pool should respect collectDetailedStatistics setting from config" );
309308 // Test that toString includes the new property
310309 final String configString = config .toString ();
311- assertTrue (configString .contains ("collectDetailedStatistics" ),
312- "Config toString should include collectDetailedStatistics property" );
310+ assertTrue (configString .contains ("collectDetailedStatistics" ), "Config toString should include collectDetailedStatistics property" );
313311 }
314312 }
315313}
You can’t perform that action at this time.
0 commit comments