OpenJDK / amber / amber
changeset 56669:5a5f83da57eb
8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
author | dtitov |
---|---|
date | Thu, 06 Jun 2019 18:57:28 -0700 |
parents | 0a7af38ef32a |
children | 0d44bf1ead37 |
files | test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001.java |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001.java Thu Jun 06 17:48:06 2019 -0700 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001.java Thu Jun 06 18:57:28 2019 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -166,7 +166,10 @@ } enabledStepRequests.forEach(s -> erManager.deleteEventRequest(s)); - + // There is a chance that a single step event had been posted after + // the step request was created and before it was deleted. In this + // case the debuggee VM is in the suspended state. + vm.resume(); return quitDebuggee(tot_res); }