METHOD_0 ( ) { org . apache . IDENT_0 . api . IDENT_1 runner = METHOD_1 ( ) ; org . apache . IDENT_0 . api . IDENT_2 controller = runner . METHOD_2 ( new org . apache . IDENT_0 . yarn . IDENT_3 . METHOD_3 ( ) ) . METHOD_4 ( new org . apache . IDENT_0 . api . logging . METHOD_5 ( new java . io . METHOD_6 ( System . out , true ) ) ) . start ( ) ; try { org . apache . IDENT_0 . IDENT_4 . IDENT_5 IDENT_6 = controller . METHOD_7 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } finally { controller . METHOD_8 ( ) . get ( INT_0 , TimeUnit . IDENT_7 ) ; } } METHOD_9 ( java . lang . IDENT_8 , int , int ) { int IDENT_9 = 0 ; int size = com . google . common . collect . IDENT_10 . size ( IDENT_11 ) ; while ( ( size != count ) && ( IDENT_9 < IDENT_12 ) ) { org . apache . IDENT_0 . yarn . IDENT_13 . LOG . info ( STRING_1 , IDENT_11 , size , count ) ; TimeUnit . IDENT_7 . sleep ( 1 ) ; IDENT_9 ++ ; size = com . google . common . collect . IDENT_10 . size ( IDENT_11 ) ; } return IDENT_9 < IDENT_12 ; }
org . junit . Assert . assertTrue ( METHOD_9 ( IDENT_6 , 2 , INT_0 ) )