diff options
author | Elliott Hughes <enh@google.com> | 2011-10-06 14:20:20 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-10-06 14:20:20 -0700 |
commit | 5f9298a3430998af855930dc5df3133f55e1516c (patch) | |
tree | 9e458066cc1b512f988e48659328dbc6cc47640c /test | |
parent | 3b3e118262c4717ef367e73445442e640f4093d8 (diff) | |
download | art-5f9298a3430998af855930dc5df3133f55e1516c.zip art-5f9298a3430998af855930dc5df3133f55e1516c.tar.gz art-5f9298a3430998af855930dc5df3133f55e1516c.tar.bz2 |
"Fix" racy test 030.
Dalvik fails this test too. I think two waits of 5s on one side and a 10s wait
on the other is too racy. This is a quick hack that brings one side down to two
lots of 4s.
Change-Id: I1176e21a3c31832f899d9423a89124c24dfd962d
Diffstat (limited to 'test')
-rw-r--r-- | test/030-bad-finalizer/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/030-bad-finalizer/src/Main.java b/test/030-bad-finalizer/src/Main.java index c063476..db80a87 100644 --- a/test/030-bad-finalizer/src/Main.java +++ b/test/030-bad-finalizer/src/Main.java @@ -14,7 +14,7 @@ public class Main { System.gc(); for (int i = 0; i < 8; i++) { - BadFinalizer.snooze(5000); + BadFinalizer.snooze(4000); System.out.println("Requesting another GC."); System.gc(); } |