# HG changeset patch # User Yasumasa Suenaga # Date 1499689768 -32400 # Node ID 7c9a56ccbb500c83ebcaec3390638c7adee2756e # Parent d55f9fa978b64e39986aa6e6043af080256e0004 Bug 3418: [TEST] GCWatcher and SnapShotProcessor tests might hang Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/107 diff -r d55f9fa978b6 -r 7c9a56ccbb50 ChangeLog --- a/ChangeLog Thu Jun 29 17:37:47 2017 +0900 +++ b/ChangeLog Mon Jul 10 21:29:28 2017 +0900 @@ -1,3 +1,7 @@ +2017-07-10 Yasumasa Suenaga + + * Bug 3418: [TEST] GCWatcher and SnapShotProcessor tests might hang + 2017-06-29 KUBOTA Yuji * Bug 3416: Remove inheritance from each modules diff -r d55f9fa978b6 -r 7c9a56ccbb50 agent/test/race-condition/GCWatcher/SnapShotProcessor/testcase/Test.java --- a/agent/test/race-condition/GCWatcher/SnapShotProcessor/testcase/Test.java Thu Jun 29 17:37:47 2017 +0900 +++ b/agent/test/race-condition/GCWatcher/SnapShotProcessor/testcase/Test.java Mon Jul 10 21:29:28 2017 +0900 @@ -20,6 +20,7 @@ public static void main(String[] args) throws Exception{ System.gc(); + Thread.sleep(3000); // Sleep 3 sec to wait breakpoint... System.gc(); } diff -r d55f9fa978b6 -r 7c9a56ccbb50 agent/test/race-condition/SnapShotProcessor/GCWatcher/testcase/Test.java --- a/agent/test/race-condition/SnapShotProcessor/GCWatcher/testcase/Test.java Thu Jun 29 17:37:47 2017 +0900 +++ b/agent/test/race-condition/SnapShotProcessor/GCWatcher/testcase/Test.java Mon Jul 10 21:29:28 2017 +0900 @@ -38,6 +38,7 @@ public static void main(String[] args) throws Exception{ System.gc(); + Thread.sleep(3000); // Sleep 3 sec to wait breakpoint... System.gc(); }