ext/libcouchbase/tests/iotests/t_eerrs.cc in libcouchbase-1.0.4 vs ext/libcouchbase/tests/iotests/t_eerrs.cc in libcouchbase-1.1.0

- old
+ new

@@ -20,11 +20,13 @@ } void checkRetryVerify(uint16_t errcode); void TearDown() { - MockOpFailClearCommand clearCmd(MockEnvironment::getInstance()->getNumNodes()); - doMockTxn(clearCmd); + if (!MockEnvironment::getInstance()->isRealCluster()) { + MockOpFailClearCommand clearCmd(MockEnvironment::getInstance()->getNumNodes()); + doMockTxn(clearCmd); + } MockUnitTest::TearDown(); } }; struct EerrsCookie {