Example #1
0
 [TearDown] public virtual void tearDown()
 {
     try {
         OrderTable.prefix = OrderTable.DEFAULT_PREFIX;
         db.Db.reallyRollback();
         emailer.reset();
         Dates.thawNow();
         SystemHeartbeat.waitTimeMillis = SystemHeartbeat.defaultWaitMillis;
         QTopic.useRetroactiveConsumer  = true;
         JChannel.closeResources();
         O.timerManager().exitTimerTestMode();
         Symbol.clearCache();
         LIVE_SYSTEM.clearDetailsCache();
         LiveWatcher.setPositionsBrokerForTest(LiveWatcher.DEFAULT_POSITIONS_BROKER);
     } finally {
         db.TestLocksTable.TEST_LOCK.releaseLock("test", false);
         Log.doNotDebugSqlForever();
     }
 }