projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b326f2
)
Rare bug fix
author
Nicholas Ormrod
<njormrod@fb.com>
Fri, 26 Sep 2014 22:17:04 +0000
(15:17 -0700)
committer
Dave Watson
<davejwatson@fb.com>
Tue, 30 Sep 2014 23:15:51 +0000
(16:15 -0700)
Summary:
By the birthday paradox, this will fail about once every 8,100
runs. Dropping to 100 with cut that to 1 in 860,000.
Test Plan: fbconfig -r folly && fbmake runtests
Reviewed By: sdoroshenko@fb.com
Subscribers: sdwilsh, njormrod
FB internal diff:
D1581238
folly/test/RandomTest.cpp
patch
|
blob
|
history
diff --git
a/folly/test/RandomTest.cpp
b/folly/test/RandomTest.cpp
index c11bf6f9f6981444f1d109cd66a7536d641df180..15b50183709e22340254e0b067c86aa989ecdfad 100644
(file)
--- a/
folly/test/RandomTest.cpp
+++ b/
folly/test/RandomTest.cpp
@@
-51,7
+51,7
@@
TEST(Random, Simple) {
}
TEST(Random, MultiThreaded) {
- const int n = 10
24
;
+ const int n = 10
0
;
std::vector<uint32_t> seeds(n);
std::vector<std::thread> threads;
for (int i = 0; i < n; ++i) {