public override void TestFixtureTearDown()
        {
            _conn.Close();
            _nodes[0].Shutdown();
            _nodes[1].Shutdown();
            _nodes[2].Shutdown();
#if DEBUG
            QueueStatsCollector.DisableIdleDetection();
#endif
            base.TestFixtureTearDown();
        }
        public override void TestFixtureTearDown()
        {
            if (_conn != null)
            {
                _conn.Close();
            }

            if (_node != null)
            {
                _node.Shutdown();
            }
#if DEBUG
            QueueStatsCollector.DisableIdleDetection();
#endif
            base.TestFixtureTearDown();
        }
Exemplo n.º 3
0
        public override void TestFixtureTearDown()
        {
            for (var i = 0; i < _portsUsed.Count; i++)
            {
                PortsHelper.ReturnPort(_portsUsed[i]);
            }

            _conn.Close();
            _nodes[0].Shutdown();
            _nodes[1].Shutdown();
            _nodes[2].Shutdown();
#if DEBUG
            QueueStatsCollector.DisableIdleDetection();
#endif
            base.TestFixtureTearDown();
        }