Skip to content

@FailingTest() annotation on test_reflective_loader test timeouts but fails faster without it #5761

@FMorschel

Description

@FMorschel

Describe the bug
Adding @FailingTest() to a failing test_reflective_loader test makes us hit a timeout (which could go away if we land #5620).

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://dart-review.googlesource.com/c/sdk/+/456020 patchset 1
  2. Run the tests at pkg/analysis_server/test/lsp/document_highlights_test.dart
  3. See it gets stuck and times out (be sure you get a timeout, note the above issue I mentioned)

Expected behavior
For it to pass normally without a timeout as a success since it does fail.

Screenshots

Project001.mp4

Please complete the following information:

Workspace Environment
Dart Code extension: 3.121.20250930
Flutter extension: 3.121.20250930 (activated)

App: Visual Studio Code
App Host: desktop
Version: win 1.105.1

Workspace type: Dart (LSP) (Multiroot)
Workspace name: sdk (Workspace)

Dart (3.11.0-edge.1974c2360e1ee4345b9cb15929b1a2465559dc18): C:\Users\felip_0vh5fa6\dart
Flutter (3.35.5): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)

Output from 'dart info'

C:\Users\felip_0vh5fa6\dart\bin\dart.exe info

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.11.0-edge.1974c2360e1ee4345b9cb15929b1a2465559dc18 (main) (Mon Oct 6 18:46:13 2025 -0700) on "windows_x64"
  • on windows / "Windows 11 Pro" 10.0 (Build 26200)
  • locale is pt-BR

Process info

Memory CPU Elapsed time Command line
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dartvm.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions