Commit f4d9039
MINOR: Fix
While setting Defaults.LogMessageTimestampType to "LogAppendTime", `LogCleanerManagerTest.testLogsUnderCleanupIneligibleForCompaction()` fails with a InvalidTimestampException.
This PR fixes this by regenerating the records instead of previous approach of re-using same records in the test.
Reviewers: Divij Vaidya <[email protected]>, Kvicii <[email protected]>
---------
Co-authored-by: fangxiaobing <[email protected]>LogCleanerManagerTest.testLogsUnderCleanupIneligibleForCompaction() for LogMessageTimestampType = "LogAppendTime" (apache#12333)1 parent 341e535 commit f4d9039
File tree
1 file changed
+1
-1
lines changed- core/src/test/scala/unit/kafka/log
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
0 commit comments