| … | … | @@ -71,7 +71,6 @@ class PersistUTest : public CxxTest::TestSuite |
| 71 | 71 | main_loop->join(); |
| 72 | 72 | srvr->disableNetworkServer(); |
| 73 | 73 | delete main_loop; |
| 74 | | delete srvr; |
| 75 | 74 | |
| 76 | 75 | // erase the log file if no assertions failed |
| 77 | 76 | if (!CxxTest::TestTracker::tracker().suiteFailed()) |
| … | … | @@ -121,7 +120,7 @@ void PersistUTest::tearDown(void) |
| 121 | 120 | |
| 122 | 121 | void PersistUTest::atomCompare(Handle a, AtomPtr b, std::string where) |
| 123 | 122 | { |
| 124 | | printf("Check %s expect %s\n", where.c_str(), a->to_string().c_str()); |
| 123 | logger().debug("Check %s expect %s", where.c_str(), a->to_string().c_str()); |
| 125 | 124 | TSM_ASSERT("No atom found", b != nullptr); |
| 126 | 125 | |
| 127 | 126 | if (nullptr == b) return; |