The fired assert appears to be too strong and can be safely removed. The test 
uses a "Staller" to stall the delivery of bytes to the body handlers. However, 
the stalling happens for the push promise response bodies, and there's no 
guarantee the main response body can't be fully completed before the push 
promise bodies start being delivered.

I have replaced the assert with a comment, and also updated the test to make it 
easier to parse logs and diagnose future issues.

-------------

Commit messages:
 - Copyright years
 - 8256211

Changes: https://git.openjdk.org/jdk/pull/20795/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20795&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8256211
  Stats: 22 lines in 1 file changed: 17 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/20795.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20795/head:pull/20795

PR: https://git.openjdk.org/jdk/pull/20795

Reply via email to