mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 18:31:32 +00:00
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:
parent
0713bce1fe
commit
f4899aa62e
|
@ -160,13 +160,17 @@ void main() {
|
||||||
|
|
||||||
tearDownAll(() async {
|
tearDownAll(() async {
|
||||||
executor.disposeMacro(diagnosticMacroInstanceId);
|
executor.disposeMacro(diagnosticMacroInstanceId);
|
||||||
|
executor.disposeMacro(danglingTaskMacroId);
|
||||||
|
executor.disposeMacro(danglingTimerMacroId);
|
||||||
|
executor.disposeMacro(danglingPeriodicTimerMacroId);
|
||||||
executor.disposeMacro(simpleMacroInstanceId);
|
executor.disposeMacro(simpleMacroInstanceId);
|
||||||
await expectLater(
|
await expectLater(
|
||||||
() => executor.executeTypesPhase(simpleMacroInstanceId,
|
() => executor.executeTypesPhase(simpleMacroInstanceId,
|
||||||
Fixtures.myFunction, TestTypePhaseIntrospector()),
|
Fixtures.myFunction, TestTypePhaseIntrospector()),
|
||||||
throwsA(isA<UnexpectedMacroException>().having((e) => e.message,
|
throwsA(isA<UnexpectedMacroException>().having((e) => e.message,
|
||||||
'message', contains('Unrecognized macro instance'))),
|
'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()) {
|
if (tmpDir.existsSync()) {
|
||||||
try {
|
try {
|
||||||
// Fails flakily on windows if a process still has the file open
|
// Fails flakily on windows if a process still has the file open
|
||||||
|
|
Loading…
Reference in a new issue