mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:03:19 +00:00
[macros] Fix flakiness on Windows related to add during flush and timeouts.
R=jakemac@google.com Change-Id: I48f5829613ca2999caf23a485648054b920596a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352907 Reviewed-by: Jake Macdonald <jakemac@google.com> Auto-Submit: Morgan :) <davidmorgan@google.com> Commit-Queue: Jake Macdonald <jakemac@google.com>
This commit is contained in:
parent
e1f1151870
commit
93b7791c0c
|
@ -124,7 +124,6 @@ class RequestChannel {
|
|||
final ByteData lengthByteData = new ByteData(4)..setUint32(0, bytes.length);
|
||||
_socket.add(lengthByteData.buffer.asUint8List());
|
||||
_socket.add(bytes);
|
||||
_socket.flush();
|
||||
}
|
||||
|
||||
/// Serializes and sends the [object].
|
||||
|
|
|
@ -954,6 +954,7 @@ class MacroArgumentsTest extends MacroElementsBaseTest {
|
|||
@override
|
||||
bool get keepLinkingLibraries => true;
|
||||
|
||||
@TestTimeout(Timeout(Duration(seconds: 60)))
|
||||
test_error() async {
|
||||
await _assertTypesPhaseArgumentsText(
|
||||
fields: {
|
||||
|
@ -10913,6 +10914,7 @@ class MacroStaticTypeTest extends MacroElementsBaseTest {
|
|||
);
|
||||
}
|
||||
|
||||
@TestTimeout(Timeout(Duration(seconds: 60)))
|
||||
test_isExactly() async {
|
||||
const testCases = {
|
||||
('double', 'double', true),
|
||||
|
|
Loading…
Reference in a new issue