Skip to content

Commit

Permalink
Fix not disposed document store
Browse files Browse the repository at this point in the history
  • Loading branch information
Fitzchak Yitzchaki committed Apr 3, 2012
1 parent 0d81c88 commit fdc638a
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -23,11 +23,10 @@ protected override void ModifyConfiguration(RavenConfiguration ravenConfiguratio
[Fact]
public void CanConcurrentlyPutDocsToDifferentTenants()
{
var count = 1000;
const int count = 1000;
using (GetNewServer())
using (var documentStore = new DocumentStore { Url = "http://localhost:8079" }.Initialize())
{
var documentStore = new DocumentStore { Url = "http://localhost:8079" }.Initialize();

for (int i = 1; i <= count; i++)
{
var tenantName = "Tenant " + i;
Expand Down

0 comments on commit fdc638a

Please sign in to comment.