Skip to content

Commit 2470113

Browse files
committed
Document that value is random
1 parent a56f206 commit 2470113

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tests/CacheAdvanceTests/CacheAdvanceTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ final class CacheAdvanceTests: XCTestCase {
9797
}
9898

9999
func test_messages_throwsFileCorruptedWhenOffsetInFileAtEndOfNewsetMessageOutOfSync() throws {
100+
let randomHighValue: UInt64 = 10_1000
100101
let header = try CacheHeaderHandle(
101102
forReadingFrom: testFileLocation,
102-
maximumBytes: 10_000,
103+
maximumBytes: randomHighValue,
103104
overwritesOldMessages: true)
104105
let cache = CacheAdvance<TestableMessage>(
105106
fileURL: testFileLocation,

0 commit comments

Comments
 (0)