Browse Source

[2993] Update comment

Mukund Sivaraman 11 years ago
parent
commit
204733844d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/lib/datasrc/tests/client_list_unittest.cc

+ 3 - 2
src/lib/datasrc/tests/client_list_unittest.cc

@@ -1059,8 +1059,9 @@ TEST_P(ListTest, checkZoneWriterCatchesExceptions) {
     ASSERT_TRUE(result.second);
 
     std::string error_msg;
-    // This should not throw and must return an error message in
-    // error_msg.
+    // Because of the way we called getCachedZoneWriter() with
+    // catch_load_error=true, the following should not throw and must
+    // return an error message in error_msg.
     EXPECT_NO_THROW(result.second->load(&error_msg));
     EXPECT_FALSE(error_msg.empty());
     result.second->cleanup();