Skip to content

Commit

Permalink
Ignore casing for primary cache (#6055)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonz120 authored Oct 8, 2024
1 parent 764d370 commit 7b42029
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal class ProjectSystemCache : IProjectSystemCache, IDisposable
// 0 - Cache is clean
// 1 - Cache is dirty
private int _isCacheDirty = 0;
private readonly Dictionary<string, CacheEntry> _primaryCache = new Dictionary<string, CacheEntry>();
private readonly Dictionary<string, CacheEntry> _primaryCache = new Dictionary<string, CacheEntry>(StringComparer.OrdinalIgnoreCase);
private readonly ReaderWriterLockSlim _readerWriterLock = new ReaderWriterLockSlim();

// Secondary index. Mapping from all names to a project name structure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public NuGetUITestCase()
{
}

[Ignore("https://github.com/NuGet/Client.Engineering/issues/2829")]
[TestMethod]
[Timeout(DefaultTimeout)]
public void InstallPackageToWebSiteProjectFromUI()
Expand All @@ -48,7 +47,6 @@ public void InstallPackageToWebSiteProjectFromUI()
CommonUtility.AssertPackageInPackagesConfig(VisualStudio, project, "log4net", "2.0.12", Logger);
}

[Ignore("https://github.com/NuGet/Client.Engineering/issues/2829")]
[TestMethod]
[Timeout(DefaultTimeout)]
public void UpdateWebSitePackageFromUI()
Expand Down

0 comments on commit 7b42029

Please sign in to comment.