METHOD_0 ( ) { org . apache . hadoop . test . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 IDENT_5 = new org . apache . hadoop . yarn . server . IDENT_3 . METHOD_2 ( ) ; IDENT_5 . start ( ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_6 IDENT_7 = IDENT_5 . METHOD_3 ( STRING_0 , INT_0 ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_8 . IDENT_9 app = IDENT_5 . METHOD_4 ( INT_1 ) ; IDENT_7 . METHOD_5 ( true ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_8 . IDENT_10 . IDENT_11 IDENT_10 = app . METHOD_6 ( ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_12 IDENT_13 = IDENT_5 . METHOD_7 ( IDENT_10 . METHOD_8 ( ) ) ; IDENT_13 . METHOD_9 ( ) ; int request = 2 ; IDENT_13 . METHOD_10 ( STRING_1 , 1000 , request , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_14 > ( ) ) ; IDENT_5 . METHOD_11 ( ) ; IDENT_7 . METHOD_5 ( true ) ; java . util . List < org . apache . hadoop . yarn . api . records . IDENT_15 > IDENT_16 = IDENT_13 . METHOD_10 ( new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_17 > ( ) , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_14 > ( ) ) . METHOD_12 ( ) ; int IDENT_18 = IDENT_16 . size ( ) ; int IDENT_19 = 0 ; while ( ( IDENT_18 < request ) && ( ( IDENT_19 ++ ) < 200 ) ) { org . apache . hadoop . yarn . server . IDENT_3 . IDENT_20 . LOG . info ( ( ( ( STRING_2 + IDENT_18 ) + STRING_3 ) + request ) ) ; java . lang . Thread . sleep ( 100 ) ; IDENT_16 = IDENT_13 . METHOD_10 ( new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_17 > ( ) , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_14 > ( ) ) . METHOD_12 ( ) ; IDENT_5 . METHOD_11 ( ) ; IDENT_18 += IDENT_16 . size ( ) ; IDENT_7 . METHOD_5 ( true ) ; } "<AssertPlaceHolder>" ; java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_14 > IDENT_21 = new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_14 > ( ) ; IDENT_21 . add ( IDENT_16 . get ( 0 ) . getId ( ) ) ; IDENT_13 . METHOD_10 ( new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_17 > ( ) , IDENT_21 ) ; IDENT_5 . METHOD_11 ( ) ; java . util . Map < org . apache . hadoop . yarn . api . records . IDENT_22 , java . util . List < org . apache . hadoop . yarn . api . records . IDENT_23 > > IDENT_24 = new java . util . HashMap < org . apache . hadoop . yarn . api . records . IDENT_22 , java . util . List < org . apache . hadoop . yarn . api . records . IDENT_23 > > ( ) ; java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_23 > IDENT_25 = new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_23 > ( ) ; IDENT_25 . add ( org . apache . hadoop . yarn . server . utils . IDENT_26 . METHOD_13 ( IDENT_16 . get ( 0 ) . getId ( ) , IDENT_27 . IDENT_28 , STRING_4 , 0 , IDENT_16 . get ( 0 ) . getResource ( ) ) ) ; IDENT_24 . put ( app . METHOD_14 ( ) , IDENT_25 ) ; org . apache . hadoop . yarn . server . api . IDENT_29 . IDENT_30 IDENT_31 = IDENT_7 . METHOD_5 ( IDENT_24 , true ) ; METHOD_15 ( IDENT_5 , IDENT_7 , IDENT_31 ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_20 . LOG . info ( ( STRING_5 + STRING_6 ) ) ; IDENT_24 . METHOD_16 ( ) ; IDENT_25 . METHOD_16 ( ) ; IDENT_25 . add ( org . apache . hadoop . yarn . server . utils . IDENT_26 . METHOD_13 ( IDENT_16 . get ( 0 ) . getId ( ) , IDENT_27 . IDENT_28 , STRING_4 , 0 , IDENT_16 . get ( 0 ) . getResource ( ) ) ) ; IDENT_24 . put ( app . METHOD_14 ( ) , IDENT_25 ) ; IDENT_31 = IDENT_7 . METHOD_5 ( IDENT_24 , true ) ; METHOD_15 ( IDENT_5 , IDENT_7 , IDENT_31 ) ; IDENT_5 . METHOD_17 ( ) ; } METHOD_5 ( org . apache . hadoop . yarn . server . api . IDENT_29 . IDENT_32 ) { METHOD_18 ( true ) ; org . junit . Assert . assertTrue ( METHOD_19 ( ) ) ; return super . METHOD_5 ( request ) ; }
org . junit . Assert . assertEquals ( request , IDENT_18 )