< prev index next >

test/native/logging/test_logStream.cpp

Print this page
rev 13265 : imported patch 8181917-refactor-ul-logstream
rev 13266 : [mq]: 8181917-refactor-ul-logstream-delta-to-next

@@ -95,6 +95,8 @@
   for (size_t i = 0; i < (1*M + 512); i ++) {
     ls.print_raw("A");
   }
   const char* const line_buffer = ls._current_line.ptr();
   ASSERT_TRUE(strlen(line_buffer) == 1*M - 1);
+  // reset to prevent assert for unflushed content
+  ls._current_line.reset();
 }
< prev index next >