skip failing macro test

Bug: https://github.com/dart-lang/sdk/issues/55992
Change-Id: Ib2bfaf980d0edc7ac8a0e2a891983a3294ee1588
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371220
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
Jake Macdonald 2024-06-12 20:59:34 +00:00 committed by Commit Queue
parent 0713bce1fe
commit f4899aa62e

View file

@ -160,13 +160,17 @@ void main() {
tearDownAll(() async {
executor.disposeMacro(diagnosticMacroInstanceId);
executor.disposeMacro(danglingTaskMacroId);
executor.disposeMacro(danglingTimerMacroId);
executor.disposeMacro(danglingPeriodicTimerMacroId);
executor.disposeMacro(simpleMacroInstanceId);
await expectLater(
() => executor.executeTypesPhase(simpleMacroInstanceId,
Fixtures.myFunction, TestTypePhaseIntrospector()),
throwsA(isA<UnexpectedMacroException>().having((e) => e.message,
'message', contains('Unrecognized macro instance'))),
reason: 'Should be able to dispose macro instances');
reason: 'Should be able to dispose macro instances',
skip: 'https://github.com/dart-lang/sdk/issues/55992');
if (tmpDir.existsSync()) {
try {
// Fails flakily on windows if a process still has the file open