test that the proper state is propagated when the health monitor sees an uncaught exception in its thread . concode_field_sep AtomicInteger createProxyCount concode_elem_sep DummyHAService svc concode_elem_sep HealthMonitor hm concode_elem_sep boolean throwOOMEOnCreate concode_elem_sep Log LOG concode_field_sep void testMonitor concode_elem_sep void testCallbackThrowsRTE concode_elem_sep void setupHM concode_elem_sep void waitForState
void function ( ) { LOG . info ( "srini_string" ) ; throwOOMEOnCreate = true ; svc . actUnreachable = true ; waitForState ( hm , HealthMonitor . State . HEALTH_MONITOR_FAILED ) ; hm . shutdown ( ) ; hm . join ( ) ; assertFalse ( hm . isAlive ( ) ) ; }