public override async Task TestFixtureTearDown() { ReadIndex.Close(); _dbResult.Db.Close(); await base.TestFixtureTearDown(); if (!_checked) { throw new Exception("Records were not checked. Probably you forgot to call CheckRecords() method."); } }
public override void TestFixtureTearDown() { ReadIndex.Close(); ReadIndex.Dispose(); TableIndex.Close(); Db.Close(); Db.Dispose(); base.TestFixtureTearDown(); }
public override Task TestFixtureTearDown() { ReadIndex.Close(); ReadIndex.Dispose(); TableIndex.Close(); Db.Close(); Db.Dispose(); return(base.TestFixtureTearDown()); }
public override Task TestFixtureTearDown() { _logFormat?.Dispose(); ReadIndex.Close(); ReadIndex.Dispose(); _tableIndex.Close(); _db.Close(); _db.Dispose(); return(base.TestFixtureTearDown()); }
void IHandle <SystemMessage.BecomeShutdown> .Handle(SystemMessage.BecomeShutdown message) { // by now (in case of successful shutdown process), all readers and writers should not be using ReadIndex _readIndex.Close(); }
public void Close() => _readIndex.Close();