Skip to content

CI: skip TimeCritical/Integration tests#40

Merged
poxet merged 1 commit into
masterfrom
develop
Apr 29, 2026
Merged

CI: skip TimeCritical/Integration tests#40
poxet merged 1 commit into
masterfrom
develop

Conversation

@poxet
Copy link
Copy Markdown
Contributor

@poxet poxet commented Apr 29, 2026

Summary

The previous merge to master (PR #39) failed its post-merge CI run on two known wall-clock-flaky tests: FetchDataThrottleTests.ManyParallelCallsAreQueued and ManyParallelCallsAreQueuedForDifferentTypes. Both are decorated with [Trait(\"Category\", \"TimeCritical\")] and were filtered out of the legacy Azure DevOps pipeline, but the new GitHub Actions workflow runs everything.

This PR restores the legacy test filter on the workflow's Test with coverage step:

--filter "(Category!=Integration)&(Category!=TimeCritical)"
  • Integration category — needs live Mongo/Redis (the existing tests are commented-out fixtures).
  • TimeCritical category — FetchQueue throttling tests assert wall-clock parallelism timing (e.g. "elapsed < 200ms"). Useful when run on a quiet developer machine; unreliable on shared GitHub-hosted runners.

Both categories remain runnable locally (no filter applied for dotnet test invocations from a developer shell).

Test plan

  • CI build runs only the deterministic test set on this PR.
  • Master push CI is green after merge.

Restores the test filter from the legacy Azure DevOps pipeline:
'(Category!=Integration)&(Category!=TimeCritical)'.

- Integration tests need a live Mongo/Redis instance.
- TimeCritical tests in FetchDataThrottleTests assert wall-clock
  parallelism timing (e.g. 'elapsed < 200ms'). They're meaningful when
  run on a quiet local machine to validate FetchQueue throttling, but
  flake on shared GitHub-hosted runners with no consistent capacity.

Both categories stay runnable locally without the filter.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@poxet poxet merged commit 032b12e into master Apr 29, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant