Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix a silly mistake
  • Loading branch information
HeartSaVioR committed Feb 21, 2019
commit a51564f1ad08690ee8971ef12d938d479ed52f77
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class CompactibleFileStreamLogSuite extends SparkFunSuite with SharedSQLContext
val exc = intercept[UnsupportedOperationException] {
compactibleLog.purge(2)
}
assert(exc.getMessage.contains("breaks internal state of CompactibleFileStreamLog"))
assert(exc.getMessage.contains("break internal state of CompactibleFileStreamLog"))

// Below line would fail with IllegalStateException if we don't prevent purge:
// - purge(2) would delete batch 0 and 1 which batch 1 is compaction batch
Expand Down