RamanVerma commented on a change in pull request #9364:
URL: https://github.com/apache/kafka/pull/9364#discussion_r511545890



##########
File path: core/src/test/scala/unit/kafka/log/LogTest.scala
##########
@@ -1257,7 +1328,7 @@ class LogTest {
     log.close()
 
     // After reloading log, producer state should not be regenerated
-    val reloadedLog = createLog(logDir, logConfig, logStartOffset = 1L)
+    val reloadedLog = createLog(logDir, logConfig, logStartOffset = 1L, 
lastShutdownClean = false)

Review comment:
       Jun, this test was not creating a clean shut down file before opening 
the log again. So, it would have been going through log recovery code path 
earlier as well.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to