Skip to content

Commit

Permalink
Lowered the fuzzing threshold so we don't overflow the stack on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitribouniol authored and hamchapman committed Apr 2, 2024
1 parent 418dab4 commit ec24382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/CBORDecoderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class CBORDecoderTests: XCTestCase {
for _ in 1...50 {
let length = Int.random(in: 1...1_000_000)
let randomData: [UInt8] = Array(repeating: UInt8.random(in: 0...255), count: length)
_ = try? CBOR.decode(randomData, options: CBOROptions(maximumDepth: 1024))
_ = try? CBOR.decode(randomData, options: CBOROptions(maximumDepth: 512))
}
}
}

0 comments on commit ec24382

Please sign in to comment.