#NEWLINE# def test_install_ext_host_is_pa_master( self ) : #NEWLINE# #INDENT# installer = StandalonePrestoInstaller ( self ) #NEWLINE# topology = { #NEWLINE# #INDENT# 'coordinator' : 'slave1' , #NEWLINE# 'workers' : [ 'slave2' , 'slave3' ] , #NEWLINE# #UNINDENT# } #NEWLINE# self . upload_topology ( topology ) #NEWLINE# cmd_output = installer . install ( coordinator = 'slave1' ) #NEWLINE# expected = install_with_ext_host_pa_master_out #NEWLINE# actual = cmd_output . splitlines ( ) #NEWLINE# self . assertEqual ( sorted ( expected ) , sorted ( actual ) ) #NEWLINE# self . assert_installed_with_configs ( self . cluster . slaves [ 0 ] , [ self . cluster . slaves [ 1 ] , self . cluster . slaves [ 2 ] ] )