Fix RandomFork test
Summary: Fork test tries to test that we don't reuse the SecureRandom buffer on fork, but it only tests one byte. This gives us probability one in 256*256 (or something like that) that we spuriously fail. Check the whole buffer instead before failing. Reviewed By: fredemmott Differential Revision: D9242788 fbshipit-source-id: b9fb809518797c439d7fe16084a04f9964a1f597
Showing
Please register or sign in to comment