-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failures in NNBD ported dart:io tests #40534
Comments
https://ci.chromium.org/p/dart/builders/try/vm-kernel-nnbd-linux-debug-x64-try/192 can be used for the actual failure logs. |
There are some tests failed after switching to NNBD. This is supposed to fix HttpException: Connection closed while receiving data. It reduced the number of failure from 300 to 70. The root cause is that HttpHeaders write {Transfer-Encoding: chunked} into _header field once user set it to true. However, when user tried to flip the bit, remove() function didn't remove the content. This leads to an additional property in header. Parser alarmed when parsing it. This is inconsistency on how others handle chunked transfer encoding. Looking at add(), set() and remove() implementation, all of them will only set _chunkedTransferEncoding instead of actually touching _header. Bug: #40534 Change-Id: I80d76f3a6da01022fdb8e755e0def8a630ca376a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135353 Commit-Queue: Zichang Guo <zichangguo@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
|
|
@zichangg is this still a problem ? |
I Looked at database. There are no IO tests approved, so I think all tests are fixed by now. |
The dart:io tests that have been ported for NNBD show some failures after we switch the dart:io and dart:_http libraries to the NNBD versions. This issue is meant to track those failures.
There are three categories of failures
1.Timeouts with no activity being shown in the stack trace
The text was updated successfully, but these errors were encountered: