Skip to content

Commit

Permalink
Cosmos: Enable DbContext pooling
Browse files Browse the repository at this point in the history
Resolves #12878
  • Loading branch information
smitpatel committed Nov 5, 2020
1 parent 7607893 commit e466eee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions test/EFCore.Cosmos.FunctionalTests/PartitionKeyTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ public class CosmosPartitionKeyFixture : SharedStoreFixtureBase<PartitionKeyCont
protected override string StoreName
=> DatabaseName;

protected override bool UsePooling
=> false;

protected override ITestStoreFactory TestStoreFactory
=> CosmosTestStoreFactory.Instance;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public class NorthwindQueryCosmosFixture<TModelCustomizer> : NorthwindQueryFixtu
protected override ITestStoreFactory TestStoreFactory
=> CosmosNorthwindTestStoreFactory.Instance;

protected override bool UsePooling
=> false;

public TestSqlLoggerFactory TestSqlLoggerFactory
=> (TestSqlLoggerFactory)ServiceProvider.GetRequiredService<ILoggerFactory>();

Expand Down

0 comments on commit e466eee

Please sign in to comment.