Skip to content

Task 1614: Fix tests that are ignored on Windows and MacOS#2724

Open
sjmsft wants to merge 8 commits intoopen-telemetry:mainfrom
sjmsft:task_1614
Open

Task 1614: Fix tests that are ignored on Windows and MacOS#2724
sjmsft wants to merge 8 commits intoopen-telemetry:mainfrom
sjmsft:task_1614

Conversation

@sjmsft
Copy link
Copy Markdown
Contributor

@sjmsft sjmsft commented Apr 21, 2026

Change Summary

Fix tests that are ignored on Windows and MacOS

What issue does this PR close?

How are these changes tested?

By running the reenabled tests.

Are there any user-facing changes?

Yes, one production code change:

Windows CA certificate hot-reload fix - The get_file_identity() function now uses MetadataExt::last_write_time() (100ns-precision FILETIME) on Windows instead of the platform-fallback get_mtime() which truncated to whole seconds. Previously, if a CA certificate file was replaced within the same second (e.g., by automation or cert-manager), the file watcher could miss the change entirely, leaving stale CA certificates in memory until the next reload event. This affects any Windows deployment using mTLS with watch_client_ca: true.

All other changes are test-only (removing #[ignore] attributes and fixing test assertions for cross-platform compatibility).

@sjmsft sjmsft requested a review from a team as a code owner April 21, 2026 21:31
@github-actions github-actions Bot added the rust Pull requests that update Rust code label Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.87%. Comparing base (ebf2403) to head (507a8fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2724      +/-   ##
==========================================
- Coverage   87.87%   87.87%   -0.01%     
==========================================
  Files         638      638              
  Lines      244608   244614       +6     
==========================================
+ Hits       214942   214944       +2     
- Misses      29142    29146       +4     
  Partials      524      524              
Components Coverage Δ
otap-dataflow 89.90% <100.00%> (-0.01%) ⬇️
query_abstraction 80.61% <ø> (ø)
query_engine 90.74% <ø> (ø)
otel-arrow-go 51.92% <ø> (ø)
quiver 92.27% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sjmsft sjmsft marked this pull request as draft April 22, 2026 16:25
@sjmsft sjmsft marked this pull request as ready for review April 23, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Fix tests that are ignored in Windows and MacOS

2 participants