OSDN Git Service

ART: Make test 030 slightly more robust
authorAndreas Gampe <agampe@google.com>
Thu, 10 Nov 2016 22:09:05 +0000 (14:09 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 10 Nov 2016 22:18:17 +0000 (14:18 -0800)
commit6bbeecca4b6669bf138b7240b4f09afca03bac27
treef03e7fdef0eec7b02fbe69233502029f41cf85ce
parent5ae7e6bc32822b246225259fbaacf8297ec83f13
ART: Make test 030 slightly more robust

Run a serious of immediate GCs, synchronizer with the finalizer
starintg  and then let the main thread sleep for a minute, in an
effort to make the test deterministic and get the finalizer
daemon scheduled.

Test: m test-art-host-run-test-030-bad-finalizer
Change-Id: Id379d8147ecc8f6aa0a7d8d5058030a4c2d4de46
test/030-bad-finalizer/expected.txt
test/030-bad-finalizer/src/Main.java