Skip to content

Commit

Permalink
Update CustomConfigTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvand committed Feb 18, 2019
1 parent f11c0c0 commit f7ba3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LDAPCP.Tests/CustomConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void BypassLookupOnGroupClaimTest(string inputValue, int expectedCount, s
[NonParallelizable]
public void TestDynamicTokens(string inputValue)
{
// Even with NonParallelizable set, it seems that the method can run multiple times simultaneously, so lock is required
// With NonParallelizable set, this method is not called in parallel with other methods, but it seems it can still be called multiple times simultaneously, so lock is required due to the multiple config changes
lock (LockUpdateDynamicTokensConfig)
{
string domainNetbios = "contoso";
Expand Down

0 comments on commit f7ba3fe

Please sign in to comment.