mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-25 07:09:55 +00:00
8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Prompt is not received during 300200 milliseconds"
Reviewed-by: cjplummer, amenkov
This commit is contained in:
parent
7dd0aaa430
commit
db61465761
@ -91,6 +91,7 @@ public class unwatch002 extends JdbTest {
|
||||
static final String DEBUGGEE_CLASS2 = DEBUGGEE_CLASS + "$CheckedFields";
|
||||
static final String FIRST_BREAK = DEBUGGEE_CLASS + ".main";
|
||||
static final String LAST_BREAK = DEBUGGEE_CLASS + ".breakHere";
|
||||
static final String expectedPrompt = "main[1]";
|
||||
|
||||
static String[] checkedFields = { "FS1" };
|
||||
static String[] checkedFields2 = { "FT1", "FV1" };
|
||||
@ -113,7 +114,7 @@ public class unwatch002 extends JdbTest {
|
||||
|
||||
// jdb.contToExit((checkedFields.length *2) + (checkedFields2.length *2) + 2);
|
||||
for (int i = 0; i < (checkedFields.length *2 + checkedFields2.length*2 + 2); i++) {
|
||||
reply = jdb.receiveReplyFor(JdbCommand.cont);
|
||||
reply = jdb.receiveReplyForWithMessageWait(JdbCommand.cont, expectedPrompt);
|
||||
}
|
||||
|
||||
unwatchFields (DEBUGGEE_CLASS, checkedFields);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user