Repository: hazelcast/hazelcast-simulator
Issue: Failed to execute expir.run(),  and Stabilizer Reports No exceptions,  run as Normal

The logs show 

```
/worker-10.233.78.201-2-client/worker.log
INFO  2014-09-15 14:38:07,554 [Thread-0] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Initializing test expir ---------------------------
      id=expir
INFO  2014-09-15 14:38:08,720 [Thread-2] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.setup() ------------------------------------
INFO  2014-09-15 14:38:08,813 [Thread-2] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.setup() ---------------------------
INFO  2014-09-15 14:38:10,731 [Thread-3] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localWarmup() ------------------------------------
INFO  2014-09-15 14:38:10,731 [Thread-3] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localWarmup() ---------------------------
INFO  2014-09-15 14:38:13,745 [Thread-4] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.run() ------------------------------------
FATAL 2014-09-15 14:38:13,782 [Thread-4] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Failed to execute expir.run() ------------------------------------
INFO  2014-09-15 14:40:14,915 [Thread-0] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- expir.stop() ------------------------------------
INFO  2014-09-15 14:40:24,955 [Thread-5] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localVerify() ------------------------------------
INFO  2014-09-15 14:40:24,955 [Thread-5] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localVerify() ---------------------------
INFO  2014-09-15 14:40:28,971 [Thread-6] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localTeardown() ------------------------------------
INFO  2014-09-15 14:40:28,971 [Thread-6] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localTeardown() ---------------------------
```

```
./worker-10.233.78.201-1-server/worker.log
INFO  2014-09-15 14:38:06,938 [Thread-0] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Initializing test expir ---------------------------
      id=expir
INFO  2014-09-15 14:38:08,079 [Thread-2] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.setup() ------------------------------------
INFO  2014-09-15 14:38:08,097 [Thread-2] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.setup() ---------------------------
INFO  2014-09-15 14:38:10,090 [Thread-3] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localWarmup() ------------------------------------
INFO  2014-09-15 14:38:10,090 [Thread-3] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localWarmup() ---------------------------
INFO  2014-09-15 14:38:12,098 [Thread-4] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.globalWarmup() ------------------------------------
INFO  2014-09-15 14:38:12,125 [Thread-4] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.globalWarmup() ---------------------------
INFO  2014-09-15 14:38:14,108 [Thread-5] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Skipping expir.run(); member is passive ------------------------------------
INFO  2014-09-15 14:40:14,281 [Thread-0] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- expir.stop() ------------------------------------
INFO  2014-09-15 14:40:17,300 [Thread-6] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.globalVerify() ------------------------------------
INFO  2014-09-15 14:40:19,312 [Thread-6] com.hazelcast.stabilizer.tests.icache.ExpiryTest: expir: Counter{putExpiry=0, putAsyncExpiry=0, getExpiry=0, getAsyncExpiry=0} from 0 worker Threads
INFO  2014-09-15 14:40:19,890 [Thread-6] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.globalVerify() ---------------------------
INFO  2014-09-15 14:40:24,323 [Thread-7] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localVerify() ------------------------------------
INFO  2014-09-15 14:40:24,323 [Thread-7] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localVerify() ---------------------------
INFO  2014-09-15 14:40:26,331 [Thread-8] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.globalTeardown() ------------------------------------
INFO  2014-09-15 14:40:26,331 [Thread-8] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.globalTeardown() ---------------------------
INFO  2014-09-15 14:40:29,363 [Thread-9] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Starting expir.localTeardown() ------------------------------------
INFO  2014-09-15 14:40:29,363 [Thread-9] com.hazelcast.stabilizer.worker.MemberWorker: --------------------------- Finished expir.localTeardown() ---------------------------
```

```
INFO  2014-09-15 14:40:19,312 [Thread-6] com.hazelcast.stabilizer.tests.icache.ExpiryTest: expir: Counter{putExpiry=0, putAsyncExpiry=0, getExpiry=0, getAsyncExpiry=0} from 0 worker Threads
```

While Stabilizer shows

```
INFO  14:38:06 Running time per test: 00d 00h 02m 00s
INFO  14:38:06 Expected total testsuite time: 00d 00h 02m 00s
INFO  14:38:06 Running 1 tests parallel
INFO  14:38:06 --------------------------------------------------------------
Running Test : expir
TestCase{
      id=expir
    , class=com.hazelcast.stabilizer.tests.icache.ExpiryTest
}
--------------------------------------------------------------
INFO  14:38:06 expir expir Starting Test initialization
INFO  14:38:07 expir Completed Test initialization
INFO  14:38:07 expir Starting Test setup
INFO  14:38:09 expir Completed Test setup
INFO  14:38:09 expir Starting Test local warmup
INFO  14:38:11 expir Completed Test local warmup
INFO  14:38:11 expir Starting Test global warmup
INFO  14:38:13 expir Completed Test global warmup
INFO  14:38:13 expir Starting Test start
INFO  14:38:14 expir Completed Test start
INFO  14:38:14 expir Test will run for 00d 00h 02m 00s
INFO  14:38:44 expir Running 00d 00h 00m 30s, 25.00 percent complete
INFO  14:39:14 expir Running 00d 00h 01m 00s, 50.00 percent complete
INFO  14:39:44 expir Running 00d 00h 01m 30s, 75.00 percent complete
INFO  14:40:14 expir Running 00d 00h 02m 00s, 100.00 percent complete
INFO  14:40:14 expir Test finished running
INFO  14:40:14 expir Starting Test stop
INFO  14:40:16 expir Completed Test stop
INFO  14:40:17 expir Starting Test global verify
INFO  14:40:18 expir Waiting for globalVerify completion: 00d 00h 00m 01s
INFO  14:40:24 expir Completed Test global verify
INFO  14:40:24 expir Starting Test local verify
INFO  14:40:26 expir Completed Test local verify
INFO  14:40:26 expir Starting Test global tear down
INFO  14:40:27 expir Finished Test global tear down
INFO  14:40:27 expir Starting Test local tear down
INFO  14:40:29 expir Completed Test local tear down
INFO  14:40:29 Terminating workers
INFO  14:40:29 All workers have been terminated
INFO  14:40:29 Starting cool down (10 sec)
INFO  14:40:39 Finished cool down
INFO  14:40:39 Total running time: 152 seconds
INFO  14:40:39 -----------------------------------------------------------------------------
INFO  14:40:39 No failures have been detected!
INFO  14:40:39 -----------------------------------------------------------------------------
```


Changed files:
stabilizer/src/main/java/com/hazelcast/stabilizer/worker/MemberWorker.java

diff --git a/stabilizer/src/main/java/com/hazelcast/stabilizer/worker/MemberWorker.java b/stabilizer/src/main/java/com/hazelcast/stabilizer/worker/MemberWorker.java
index fd833ea0a..47117e9e8 100644
--- a/stabilizer/src/main/java/com/hazelcast/stabilizer/worker/MemberWorker.java
+++ b/stabilizer/src/main/java/com/hazelcast/stabilizer/worker/MemberWorker.java
@@ -379,11 +379,12 @@ public class MemberWorker {
                                 log.info(format("--------------------------- Completed %s.run() " +
                                                 "------------------------------------",
                                         testName));
-                            } catch (Throwable t) {
+                            } catch (InvocationTargetException e) {
                                 String msg = format("--------------------------- Failed to execute %s.run() " +
                                                 "------------------------------------",
                                         testName);
-                                log.severe(msg, t);
+                                log.severe(msg, e.getCause());
+                                throw e.getCause();
                             }
                         }
                     }