Closed srawlins closed 6 years ago
These test failures occured with the intruction of --sync-async to the VM (which starts async functions synchronously):
Without sync-async:
% dart --no-sync-async test/transport_test.dart
00:00 +0: transport-test ping
00:00 +1: transport-test terminated-client-ping
00:00 +2: transport-test terminated-server-ping
00:00 +3: transport-test exhaust-concurrent-stream-limit
00:00 +4: transport-test disabled-push
00:00 +5: transport-test enabled-push-100
00:02 +6: transport-test early-shutdown
00:02 +7: transport-test client-terminates-stream
00:02 +8: transport-test server-terminates-stream
00:02 +9: transport-test client-terminates-stream-after-half-close
00:02 +10: transport-test server-terminates-stream-after-half-close
00:02 +11: transport-test idle-handler
00:02 +12: transport-test flow-control fast-sender-receiver-paused--default-window-size
00:02 +13: transport-test flow-control fast-sender-receiver-paused--10kb-window-size
00:03 +14: All tests passed!
With --sync-async
% dart --sync-async test/transport_test.dart
00:00 [32m+0[0m: transport-test ping[0m
00:00 [32m+1[0m: transport-test terminated-client-ping[0m
00:00 [32m+2[0m: transport-test terminated-server-ping[0m
00:00 [32m+3[0m: transport-test exhaust-concurrent-stream-limit[0m
00:00 [32m+4[0m: transport-test disabled-push[0m
00:00 [32m+5[0m: transport-test enabled-push-100[0m
00:02 [32m+6[0m: transport-test early-shutdown[0m
00:02 [32m+6[0m[31m -1[0m: transport-test early-shutdown [1m[31m[E][0m[0m
HTTP/2 error: Connection error: Connection is being forcefully terminated. (errorCode: 10)
...
00:02 [32m+6[0m[31m -1[0m: transport-test client-terminates-stream[0m
00:02 [32m+7[0m[31m -1[0m: transport-test server-terminates-stream[0m
00:02 [32m+8[0m[31m -1[0m: transport-test client-terminates-stream-after-half-close[0m
00:02 [32m+9[0m[31m -1[0m: transport-test server-terminates-stream-after-half-close[0m
00:32 [32m+9[0m[31m -2[0m: transport-test server-terminates-stream-after-half-close [1m[31m[E][0m[0m
TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
...
00:32 [32m+9[0m[31m -2[0m: transport-test idle-handler[0m
00:32 [32m+10[0m[31m -2[0m: transport-test flow-control fast-sender-receiver-paused--default-window-size[0m
00:33 [32m+11[0m[31m -2[0m: transport-test flow-control fast-sender-receiver-paused--10kb-window-size[0m
00:33 [32m+12[0m[31m -2[0m: [31mSome tests failed.[0m
These are probably real bugs in the code.
@mkustermann – thoughts on the remaining failures?
Right now I don't have the time to look at it, but it's in the queue.
thanks
On Fri, Jul 20, 2018 at 1:28 AM Martin Kustermann notifications@github.com wrote:
Right now I don't have the time to look at it, but it's in the queue.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dart-lang/http/issues/1353, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCivHrNVZuMHntkjTCW4P9aoOLxvrbks5uIZS9gaJpZM4UVzBL .
Testing with Dart 2.0.0-dev.56.0, I see that transport_test fails: