question: @ SuppressWarnings ( "unchecked" ) public void testFailoverTopology ( ) throws Exception { try { Ignite ignite1 = startGrid ( 1 ) ; startGrid ( 2 ) ; ignite1 . compute ( ) . localDeployTask ( JobFailTask . class , JobFailTask . class . getClassLoader ( ) ) ; try { compute ( ignite1 . cluster ( ) . forRemotes ( ) ) . execute ( JobFailTask . class , null ) ; } catch ( IgniteException e ) { info ( "Got expected grid exception: " + e ) ; } assert ! failed . get ( ) ; } finally { stopGrid ( 1 ) ; stopGrid ( 2 ) ; } }
target:  Tests that failover don't pick local node if it has been excluded from topology.