METHOD_0 ( ) { final java . util . List < java . lang . String > IDENT_0 = com . google . common . collect . Lists . newArrayList ( ) ; org . apache . jackrabbit . oak . spi . IDENT_1 . IDENT_2 monitor = new org . apache . jackrabbit . oak . spi . IDENT_1 . IDENT_2 . METHOD_1 ( ) { @ org . apache . jackrabbit . oak . plugins . document . Override public void METHOD_2 ( java . lang . String status ) { IDENT_0 . add ( status ) ; } } ; IDENT_1 . METHOD_3 ( monitor ) ; IDENT_1 . METHOD_4 ( INT_0 , TimeUnit . IDENT_3 ) ; java . util . List < java . lang . String > expected = com . google . common . collect . Lists . newArrayList ( STRING_0 , STRING_1 , STRING_2 , STRING_1 , STRING_3 , STRING_4 , STRING_3 , STRING_5 , STRING_6 , STRING_7 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( long , java . util . concurrent . TimeUnit ) { long IDENT_4 = unit . METHOD_5 ( IDENT_5 ) ; org . apache . jackrabbit . oak . plugins . document . util . IDENT_6 IDENT_7 = new org . apache . jackrabbit . oak . plugins . document . util . METHOD_6 ( IDENT_8 . METHOD_7 ( ) . getTime ( ) , Long . MAX_VALUE ) ; if ( ( options . IDENT_9 ) > 0 ) { IDENT_7 = IDENT_7 . METHOD_8 ( options . IDENT_9 ) ; } org . apache . jackrabbit . oak . plugins . document . IDENT_10 . IDENT_11 job = new org . apache . jackrabbit . oak . plugins . document . IDENT_10 . METHOD_9 ( IDENT_4 , options , IDENT_12 ) ; if ( IDENT_13 . METHOD_10 ( null , job ) ) { org . apache . jackrabbit . oak . plugins . document . IDENT_10 . IDENT_14 IDENT_15 = new org . apache . jackrabbit . oak . plugins . document . IDENT_10 . METHOD_11 ( ) ; IDENT_15 . IDENT_16 . start ( ) ; IDENT_17 . METHOD_12 ( ) ; boolean IDENT_18 = false ; try { long IDENT_19 = 0 ; while ( IDENT_7 . contains ( ( ( IDENT_8 . METHOD_7 ( ) . getTime ( ) ) + IDENT_19 ) ) ) { IDENT_12 . info ( STRING_8 , ( ( IDENT_15 . IDENT_20 ) + 1 ) , ( IDENT_19 / FLOAT_0 ) ) ; org . apache . jackrabbit . oak . plugins . document . IDENT_10 . METHOD_11 IDENT_21 = job . run ( ) ; IDENT_15 . METHOD_13 ( IDENT_21 ) ; if ( ( ( options . IDENT_22 ) > 0 ) && ( ( IDENT_15 . IDENT_20 ) >= ( options . IDENT_22 ) ) ) { break ; } if ( ! ( IDENT_15 . IDENT_23 ) ) { break ; } IDENT_19 = ( ( IDENT_19 * ( ( IDENT_15 . IDENT_20 ) - 1 ) ) + ( IDENT_21 . IDENT_16 . METHOD_14 ( TimeUnit . IDENT_24 ) ) ) / ( IDENT_15 . IDENT_20 ) ; } IDENT_18 = true ; return IDENT_15 ; } finally { IDENT_15 . IDENT_16 . METHOD_15 ( ) ; IDENT_13 . set ( null ) ; IDENT_15 . IDENT_18 = IDENT_18 ; IDENT_17 . METHOD_16 ( IDENT_15 ) ; if ( ( IDENT_15 . IDENT_20 ) > 1 ) { IDENT_12 . info ( STRING_9 , IDENT_15 . IDENT_20 , IDENT_15 ) ; } } } else { throw new java . io . IOException ( STRING_10 ) ; } }
org . junit . Assert . assertEquals ( expected , IDENT_0 )