METHOD_0 ( ) { configuration . METHOD_1 ( IDENT_0 . IDENT_1 , false ) ; configuration . METHOD_1 ( IDENT_0 . IDENT_2 , true ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . yarn . conf . METHOD_2 ( configuration ) ; conf . set ( METHOD_2 . IDENT_3 , org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . IDENT_6 . class . getName ( ) ) ; conf . METHOD_1 ( METHOD_2 . IDENT_7 , true ) ; IDENT_8 = new org . apache . hadoop . yarn . server . IDENT_4 . METHOD_3 ( conf ) ; IDENT_8 . init ( conf ) ; IDENT_8 . start ( ) ; org . apache . hadoop . IDENT_9 . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . hadoop . IDENT_9 . IDENT_10 . METHOD_4 ( IDENT_10 . IDENT_13 . IDENT_14 ) ; IDENT_8 . IDENT_15 . METHOD_5 ( IDENT_12 ) ; IDENT_8 . IDENT_15 . METHOD_6 ( IDENT_12 ) ; IDENT_8 . IDENT_15 . METHOD_5 ( IDENT_12 ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_16 IDENT_17 = IDENT_8 . METHOD_7 ( STRING_0 , ( 8 * INT_0 ) ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_18 . IDENT_19 IDENT_20 = IDENT_8 . METHOD_8 ( ) . METHOD_9 ( ) . get ( IDENT_17 . METHOD_10 ( ) ) ; IDENT_20 . METHOD_8 ( ) . METHOD_11 ( ) . METHOD_12 ( ) . METHOD_13 ( new org . apache . hadoop . yarn . server . IDENT_4 . IDENT_21 . event . METHOD_14 ( IDENT_20 ) ) ; org . apache . hadoop . yarn . server . IDENT_4 . IDENT_22 IDENT_23 = ( ( org . apache . hadoop . yarn . server . IDENT_4 . IDENT_22 ) ( IDENT_8 . METHOD_8 ( ) . METHOD_15 ( ) ) ) ; org . apache . hadoop . test . IDENT_24 . METHOD_16 ( new com . google . common . base . IDENT_25 < java . lang . Boolean > ( ) { @ org . apache . hadoop . yarn . server . IDENT_4 . Override public org . apache . hadoop . yarn . server . IDENT_4 . Boolean get ( ) { return ( IDENT_23 . METHOD_17 ( ) . size ( ) ) == 1 ; } } , 100 , INT_1 ) ; IDENT_8 . METHOD_18 ( ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( ) { long IDENT_26 = java . lang . System . currentTimeMillis ( ) ; if ( ( ( IDENT_26 - ( IDENT_27 ) ) > ( IDENT_28 ) ) || ( ( IDENT_29 ) == null ) ) { IDENT_29 = METHOD_19 ( this . IDENT_30 . METHOD_20 ( this . k ) ) ; if ( ( IDENT_29 . size ( ) ) > 0 ) { IDENT_27 = IDENT_26 ; } } return IDENT_29 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_23 . METHOD_17 ( ) . size ( ) )