Skip to content

Commit

Permalink
clean up elastic after test
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed May 20, 2016
1 parent 3d86f58 commit 6aab020
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ public void Dispose()
// context.DeleteIndex<ClassWithArrayOfStrings>();
//}

//if (context.IndexExists<ClassWithListOfObjects>())
//{
// context.AllowDeleteForIndex = true;
// context.DeleteIndex<ClassWithListOfObjects>();
//}
if (context.IndexExists<ClassWithListOfObjects>())
{
context.AllowDeleteForIndex = true;
context.DeleteIndex<ClassWithListOfObjects>();
}

//if (context.IndexExists<ClassWithArrayOfObjects>())
//{
// context.AllowDeleteForIndex = true;
// context.DeleteIndex<ClassWithArrayOfObjects>();
//}
if (context.IndexExists<ClassWithArrayOfObjects>())
{
context.AllowDeleteForIndex = true;
context.DeleteIndex<ClassWithArrayOfObjects>();
}


}
Expand Down

0 comments on commit 6aab020

Please sign in to comment.