question: @ SuppressWarnings ( "unchecked" ) private void checkClassNotFound ( ) throws Exception { initGar = false ; try { Ignite ignite1 = startGrid ( 1 ) ; Ignite ignite2 = startGrid ( 2 ) ; Class task = extLdr . loadClass ( TASK_NAME ) ; try { ignite1 . compute ( ) . execute ( task , ignite2 . cluster ( ) . localNode ( ) . id ( ) ) ; assert false ; } catch ( IgniteException e ) { info ( "Received expected exception: " + e ) ; } } finally { stopGrid ( 1 ) ; stopGrid ( 2 ) ; } }
target:  Test what happens if peer class loading is disabled.