runtime icon indicating copy to clipboard operation
runtime copied to clipboard

System.Collections.Specialized.Tests.GetItemObjTests.Test01 [FAIL]

Open krwq opened this issue 11 years ago • 3 comments

     System.Collections.Specialized.Tests.GetItemObjTests.Test01 [FAIL]
        Error, returned wrong item for uppercase key
        Stack Trace:
           d:\j\workspace\dotnet_corefx_windows_release_prtest\src\System.Collections.Specialized\tests\HybridDictionary\GetItemObjTests.cs(328,0): at System.Collections.Specialized.Tests.GetItemObjTests.Test01()

I coudln't repro locally, probably some threading issue

krwq avatar Apr 09 '15 18:04 krwq

Is very likely related to the fact that that we do ToUpper() on the keys and values and expect this to be stable while some of the NameValueCollection tests set the current culture to turkish, which cases "I" differently.

This is racy when they run concurrently.

ellismg avatar Apr 10 '15 04:04 ellismg

@ellismg If it really is that(I'm trying to reproduce here), how could we fix it(if there's a way)?

gabsferreira avatar May 08 '15 14:05 gabsferreira

I expect this was fixed by dotnet/corefx#4383. Closing it for now; we can reopen it if it repros again.

stephentoub avatar Nov 16 '15 03:11 stephentoub