public void TestTearDown()
        {
            using (var mongo = ConnectAndAuthenticatedMongo(AdminUser, AdminPass))
            {
                mongo[TestDatabaseName].Metadata.RemoveUser(TestUser);
                mongo["admin"].Metadata.RemoveUser(AdminUser);
            }

            // clean connections
            ConnectionFactoryFactory.Shutdown();
        }
 public void SetUp()
 {
     ConnectionFactoryFactory.Shutdown();
 }
Пример #3
0
 public void TearDown()
 {
     ConnectionFactoryFactory.Shutdown();
 }