You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit this during the test bringup. What I do during the bringup is I modify the list of SmokeTestProject itemgroup in src/libraries/tests.proj to have only the tests I'm interested in. More here: #73048 (comment)
[FAIL] Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(colorBehavior: Default)
Assert.Equal() Failure
Expected: 1
Actual: 2
at Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(LoggerColorBehavior) + 0x3ad
at Microsoft.Extensions.Logging.Console.Tests!+0x8935ec
at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x172
I cannot repro this error with the latest code on both Windows and Linux x64. I'll submit a PR to remove this ActiveIssue to see in CI what leg is failing for this test.
Activity
vitek-karas commentedon Aug 5, 2022
How did you build the test in question for NativeAOT?
I tried the usual way but it fails for me.
MichalStrehovsky commentedon Aug 8, 2022
I hit this during the test bringup. What I do during the bringup is I modify the list of
SmokeTestProjectitemgroup in src/libraries/tests.proj to have only the tests I'm interested in. More here: #73048 (comment)eerhardt commentedon Aug 22, 2022
RE:
I cannot repro this error with the latest code on both Windows and Linux x64. I'll submit a PR to remove this ActiveIssue to see in CI what leg is failing for this test.
Enable Console Logging test in NativeAOT
Enable Console Logging test in NativeAOT (#74381)
Enable NativeAOT test that should work now
Configuring Console Json Formatting with JsonWriterOptions doesn't wo…