Gridify icon indicating copy to clipboard operation
Gridify copied to clipboard

Concurrently changing GridifyGlobalConfigurations causes inconsistent behavior

Open alirezanet opened this issue 8 months ago • 0 comments

Version

v2.14.2

Details

This issue can be identified and tested within the project's unit tests. Changing the global configuration for a single test can result in other tests' failure, which might also happen in the production environment and actual code base.

Steps to reproduce

add this test: e.g:

   [Fact]
   public async Task ConcurrencyIssue()
   {
      GridifyGlobalConfiguration.DisableNullChecks = true;
      await Task.Delay(100);
      GridifyGlobalConfiguration.DisableNullChecks = false;
   }

and run all the unit-tests:

image

alirezanet avatar Jun 22 '24 15:06 alirezanet