Skip to content

Conversation

Demo30
Copy link
Contributor

@Demo30 Demo30 commented Feb 4, 2025

The actual logic in FakeLogger::Log::ConsumeTState::ConvertToString uses invariant culture, but we are testing against current culture. The unit test fails on machines with current culture mismatching the expectations (dot/comma separated decimal).

Microsoft Reviewers: Open in CodeFlow

@Demo30 Demo30 requested a review from a team as a code owner February 4, 2025 07:41
@dotnet-comment-bot
Copy link
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.AI.Ollama Line 80 78.25 🔻
Microsoft.Gen.MetadataExtractor Line 98 57.35 🔻
Microsoft.Gen.MetadataExtractor Branch 98 62.5 🔻

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Extensions.AI.OpenAI 77 78
Microsoft.Extensions.AI.Abstractions 83 84
Microsoft.Extensions.AI 88 89

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=939104&view=codecoverage-tab

@evgenyfedorov2 evgenyfedorov2 merged commit 1a847c1 into dotnet:main Feb 4, 2025
6 checks passed
@Demo30 Demo30 deleted the twiesner/fix-wrong-culture-in-uts branch February 5, 2025 12:36
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants