From 0136f16ce7777995c11f2b32911b6fc578b56bca Mon Sep 17 00:00:00 2001 From: Yannick Welsch Date: Tue, 15 Mar 2016 16:48:14 +0100 Subject: [PATCH] [TEST] Suppress exception in Watcher benchmark Original commit: elastic/x-pack-elasticsearch@099cad0ac163b0daf325700e3461d7eb485f1422 --- .../watcher/test/bench/WatcherScheduleEngineBenchmark.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/test/bench/WatcherScheduleEngineBenchmark.java b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/test/bench/WatcherScheduleEngineBenchmark.java index 373f27d8c34..87f324d933e 100644 --- a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/test/bench/WatcherScheduleEngineBenchmark.java +++ b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/test/bench/WatcherScheduleEngineBenchmark.java @@ -169,9 +169,7 @@ public class WatcherScheduleEngineBenchmark { jvmUsedHeapSpace.inc(heapUsed.bytes()); Thread.sleep(1000); } - } catch (InterruptedException e) { - e.printStackTrace(); - } + } catch (InterruptedException ignored) {} } }); sampleThread.start();