test ( ) { final java . util . concurrent . atomic . IDENT_0 IDENT_1 = new java . util . concurrent . atomic . METHOD_0 ( 0 ) ; java . util . concurrent . IDENT_2 pool = java . util . concurrent . IDENT_3 . METHOD_1 ( INT_0 ) ; for ( int i = 0 ; i < INT_0 ; i ++ ) { final java . lang . String IDENT_4 = ( STRING_0 + i ) + STRING_1 ; final int IDENT_5 = i ; pool . execute ( new java . lang . METHOD_2 ( ) { public void run ( ) { try { java . lang . Thread . sleep ( ( IDENT_5 * 10 ) ) ; } catch ( java . lang . IDENT_6 e ) { } try { java . sql . IDENT_7 conn = java . sql . IDENT_8 . METHOD_3 ( IDENT_4 ) ; } catch ( java . sql . IDENT_9 e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( e . METHOD_4 ( ) ) ; } IDENT_1 . METHOD_5 ( ) ; } } ) ; } pool . METHOD_6 ( ) ; pool . METHOD_7 ( 3 , TimeUnit . IDENT_10 ) ; "<AssertPlaceHolder>" ; } run ( ) { try { java . sql . IDENT_11 s = conn . METHOD_8 ( ) ; s . METHOD_9 ( STRING_2 ) ; s . close ( ) ; } catch ( java . sql . IDENT_9 e ) { e . printStackTrace ( ) ; } }
org . junit . Assert . assertEquals ( INT_0 , IDENT_1 . get ( ) )