The following failure is quite common among the jdb tests:
"Prompt is not received during ... milliseconds"
It is produced when receiveReply() calls waitForPrompt() and the prompt was never detected. Usually there is reply data available when this happens, and printing it is very useful for debugging. See the description ofJDK-8208468 for example. Dumping the pending reply made the cause of the failure obvious.
receiveReply() should be modified as indicated inJDK-8208468 to dump the pending reply when waitForPrompt() fails.
"Prompt is not received during ... milliseconds"
It is produced when receiveReply() calls waitForPrompt() and the prompt was never detected. Usually there is reply data available when this happens, and printing it is very useful for debugging. See the description of
receiveReply() should be modified as indicated in
- relates to
-
JDK-8210748 [TESTBUG] lib.jdb.Jdb.waitForPrompt() should clarify which output is the pending reply after a timeout
-
- Resolved
-