Files
sdk/pkg/dartdev/test/commands
Danny Tuppeny 027618092a [dartdev] Fix flakey LSP server test
This test was written to assume that the stdout stream would deliver LSP headers and body in separate "packets", but wasn't guaranteed to be the case. The failure at https://dart-ci.appspot.com/log/pkg-linux-release/unittest-asserts-release-linux/19779/pkg/dartdev/test/commands/language_server_test shows that both header+body arrived together which caused the test to fail.

These changes buffer the output until the complete message is available and then return the body of the message.

Change-Id: I5a5ec49fdca667ae351e602ca2d589fd2ab06ba3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251548
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2022-07-15 17:44:30 +00:00
..
2022-02-23 12:10:34 +00:00
2022-02-23 12:10:34 +00:00
2022-06-06 17:42:14 +00:00
2022-03-17 23:11:28 +00:00
2022-03-17 23:11:28 +00:00
2022-04-26 17:48:43 +00:00