Skip to content

Commit

Permalink
Query: Split databases for filter/non-filter cases for bulk updates (#…
Browse files Browse the repository at this point in the history
…28597)

Using same database concurrently (from 2 different test classes) was causing time outs when running bulk command due to locking of tables
  • Loading branch information
smitpatel committed Aug 4, 2022
1 parent e6b372a commit badf293
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ namespace Microsoft.EntityFrameworkCore.BulkUpdates;

public class FiltersInheritanceBulkUpdatesSqlServerFixture : InheritanceBulkUpdatesSqlServerFixture
{
protected override string StoreName => "FiltersInheritanceBulkUpdatesTest";

protected override bool EnableFilters
=> true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ namespace Microsoft.EntityFrameworkCore.BulkUpdates;

public class TPCFiltersInheritanceBulkUpdatesSqlServerFixture : TPCInheritanceBulkUpdatesSqlServerFixture
{
protected override string StoreName => "TPCFiltersInheritanceBulkUpdatesTest";

protected override bool EnableFilters => true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ namespace Microsoft.EntityFrameworkCore.BulkUpdates;

public class TPTFiltersInheritanceBulkUpdatesSqlServerFixture : TPTInheritanceBulkUpdatesSqlServerFixture
{
protected override string StoreName => "TPTFiltersInheritanceBulkUpdatesTest";

protected override bool EnableFilters => true;
}

0 comments on commit badf293

Please sign in to comment.