Skip to content

PerformanceCounter_IncrementBy_IncrementByReadOnly Failure for Windows 8.1 #24176

@Drawaes

Description

@Drawaes

The failure on Windows is only on Windows.81.Amd64.Open (the test is skipped on a number of the win10 versions)
System.Diagnostics.Tests.PerformanceCounterTests/PerformanceCounter_IncrementBy_IncrementByReadOnly

Assert.NotEqual() Failure
Expected: Not 0
Actual: 0

https://mc.dot.net/#/user/Drawaes/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/95937940636258caa156046fa21fca91a45682d3/workItem/System.Diagnostics.PerformanceCounter.Tests/analysis/xunit/System.Diagnostics.Tests.PerformanceCounterTests~2FPerformanceCounter_IncrementBy_IncrementByReadOnly

Trace

at System.Diagnostics.Tests.Helpers.RetryOnAllPlatforms[T](Func`1 func) in D:\j\workspace\windows-TGrou---6368dffa\src\System.Diagnostics.PerformanceCounter\tests\Helpers.cs:line 71
   at System.Diagnostics.Tests.PerformanceCounterTests.CreateCounterWithCategory(String name, Boolean readOnly, PerformanceCounterCategoryType categoryType) in D:\j\workspace\windows-TGrou---6368dffa\src\System.Diagnostics.PerformanceCounter\tests\PerformanceCounterTests.cs:line 297
   at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_IncrementBy_IncrementByReadOnly() in D:\j\workspace\windows-TGrou---6368dffa\src\System.Diagnostics.PerformanceCounter\tests\PerformanceCounterTests.cs:line 228

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions