METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( this . conf ) ; conf . set ( STRING_0 , STRING_1 ) ; org . apache . hadoop . security . IDENT_0 . METHOD_1 ( null ) ; org . apache . hadoop . security . IDENT_0 . METHOD_2 ( conf ) ; org . apache . hadoop . yarn . server . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . hadoop . yarn . server . IDENT_1 . security . IDENT_4 . METHOD_3 ( conf ) ; IDENT_3 . start ( ) ; org . apache . hadoop . yarn . server . IDENT_1 . security . IDENT_5 IDENT_6 = IDENT_3 . METHOD_4 ( ) . METHOD_5 ( ) ; org . apache . hadoop . yarn . server . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 IDENT_10 = IDENT_3 . METHOD_4 ( ) . METHOD_6 ( ) . METHOD_7 ( ) ; java . util . Set < org . apache . hadoop . security . token . IDENT_11 . IDENT_12 > IDENT_13 = IDENT_10 . METHOD_8 ( ) . METHOD_9 ( ) ; for ( org . apache . hadoop . security . token . IDENT_11 . IDENT_12 IDENT_14 : IDENT_6 . METHOD_10 ( ) ) { boolean IDENT_15 = false ; for ( org . apache . hadoop . security . token . IDENT_11 . IDENT_12 IDENT_16 : IDENT_13 ) { if ( ( ( IDENT_14 . METHOD_11 ( ) ) == ( IDENT_16 . METHOD_11 ( ) ) ) && ( java . util . Arrays . equals ( IDENT_14 . METHOD_12 ( ) , IDENT_16 . METHOD_12 ( ) ) ) ) { IDENT_15 = true ; break ; } } "<AssertPlaceHolder>" ; } org . apache . hadoop . yarn . api . IDENT_17 . IDENT_18 request = mock ( org . apache . hadoop . yarn . api . IDENT_17 . IDENT_18 . class ) ; when ( request . METHOD_13 ( ) ) . thenReturn ( STRING_2 ) ; org . apache . hadoop . yarn . api . IDENT_17 . IDENT_19 response = IDENT_3 . METHOD_14 ( ) . METHOD_15 ( request ) ; org . apache . hadoop . yarn . api . records . IDENT_20 IDENT_21 = response . METHOD_16 ( ) ; org . apache . hadoop . security . token . IDENT_20 < org . apache . hadoop . yarn . security . client . IDENT_22 > IDENT_23 = org . apache . hadoop . yarn . util . IDENT_24 . METHOD_17 ( IDENT_21 , ( ( org . apache . hadoop . io . IDENT_25 ) ( null ) ) ) ; org . apache . hadoop . yarn . security . client . IDENT_22 IDENT_26 = IDENT_23 . METHOD_18 ( ) ; while ( ( ( ( org . apache . hadoop . yarn . server . IDENT_1 . security . IDENT_4 . IDENT_27 ) ( IDENT_6 ) ) . IDENT_28 . get ( ) ) < 3 ) { do { IDENT_10 = IDENT_3 . METHOD_4 ( ) . METHOD_6 ( ) . METHOD_7 ( ) ; IDENT_13 = IDENT_10 . METHOD_8 ( ) . METHOD_9 ( ) ; } while ( IDENT_13 == null ) ; ( ( org . apache . hadoop . yarn . server . IDENT_1 . security . IDENT_4 . IDENT_27 ) ( IDENT_6 ) ) . METHOD_19 ( IDENT_13 ) ; java . lang . Thread . sleep ( 100 ) ; } int count = 0 ; IDENT_10 = IDENT_3 . METHOD_4 ( ) . METHOD_6 ( ) . METHOD_7 ( ) ; java . util . Map < org . apache . hadoop . yarn . security . client . IDENT_22 , java . lang . Long > IDENT_29 = IDENT_10 . METHOD_8 ( ) . METHOD_20 ( ) ; while ( ( IDENT_29 . containsKey ( IDENT_26 ) ) && ( count < 100 ) ) { java . lang . Thread . sleep ( 100 ) ; count ++ ; } IDENT_3 . METHOD_21 ( ) ; } METHOD_12 ( ) { return IDENT_30 ; }
org . junit . Assert . assertTrue ( IDENT_15 )