METHOD_0 ( ) { conf . METHOD_1 ( IDENT_0 . IDENT_1 , INT_0 ) ; IDENT_2 = new org . apache . hadoop . yarn . server . IDENT_3 . METHOD_2 ( conf ) ; IDENT_2 . start ( ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_4 IDENT_5 = new org . apache . hadoop . yarn . server . IDENT_3 . METHOD_3 ( STRING_0 , INT_1 , IDENT_2 . METHOD_4 ( ) ) ; IDENT_5 . METHOD_5 ( ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_6 . IDENT_7 IDENT_8 = IDENT_2 . METHOD_6 ( 200 ) ; org . apache . hadoop . yarn . server . IDENT_3 . IDENT_9 IDENT_10 = org . apache . hadoop . yarn . server . IDENT_3 . METHOD_2 . METHOD_7 ( IDENT_8 , IDENT_2 , IDENT_5 ) ; IDENT_11 = new org . apache . hadoop . yarn . server . IDENT_3 . METHOD_2 ( conf , IDENT_2 . METHOD_8 ( ) ) ; IDENT_11 . start ( ) ; IDENT_5 . METHOD_9 ( IDENT_11 . METHOD_4 ( ) ) ; IDENT_5 . METHOD_5 ( ) ; org . apache . hadoop . yarn . util . IDENT_12 IDENT_13 = new org . apache . hadoop . yarn . util . METHOD_10 ( ) ; long IDENT_14 = java . lang . System . currentTimeMillis ( ) ; ( ( org . apache . hadoop . yarn . server . IDENT_3 . IDENT_15 ) ( IDENT_11 . METHOD_11 ( ) ) ) . METHOD_12 ( IDENT_13 ) ; IDENT_10 . METHOD_13 ( IDENT_11 . METHOD_14 ( ) , IDENT_11 . METHOD_11 ( ) ) ; IDENT_10 . METHOD_15 ( true ) ; IDENT_11 . METHOD_16 ( IDENT_8 . METHOD_17 ( ) , IDENT_16 . IDENT_17 ) ; IDENT_10 . METHOD_18 ( STRING_1 , 1000 , 1 , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_18 > ( ) ) ; java . util . List < org . apache . hadoop . yarn . api . records . IDENT_19 > IDENT_20 = new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_19 > ( ) ; IDENT_13 . METHOD_19 ( ( IDENT_14 + INT_2 ) ) ; IDENT_5 . METHOD_20 ( true ) ; java . lang . Thread . sleep ( INT_3 ) ; IDENT_20 . addAll ( IDENT_10 . METHOD_18 ( new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_21 > ( ) , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_18 > ( ) ) . METHOD_21 ( ) ) ; "<AssertPlaceHolder>" ; IDENT_13 . METHOD_19 ( ( IDENT_14 + INT_4 ) ) ; IDENT_5 . METHOD_20 ( true ) ; while ( IDENT_20 . isEmpty ( ) ) { IDENT_20 . addAll ( IDENT_10 . METHOD_18 ( new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_21 > ( ) , new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_18 > ( ) ) . METHOD_21 ( ) ) ; java . lang . Thread . sleep ( INT_5 ) ; } } isEmpty ( ) { return IDENT_22 . isEmpty ( ) ; }
org . junit . Assert . assertTrue ( IDENT_20 . isEmpty ( ) )