コード例 #1
0
        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.");
            }
        }
コード例 #2
0
        public override void TestFixtureTearDown()
        {
            ReadIndex.Close();
            ReadIndex.Dispose();

            TableIndex.Close();

            Db.Close();
            Db.Dispose();

            base.TestFixtureTearDown();
        }
コード例 #3
0
        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());
        }
コード例 #5
0
 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();
 }
コード例 #6
0
 public void Close() => _readIndex.Close();