Commit 60895e07 authored by Nathan Bronson's avatar Nathan Bronson Committed by Facebook Github Bot

temporarily disable FOLLY_F14_PERTURB_INSERTION_ORDER

Summary: This diff defaults FOLLY_F14_PERTURB_INSERTION_ORDER to off even for debug builds. It will be reenabled soon.

Reviewed By: markw65

Differential Revision: D13289756

fbshipit-source-id: 931f373e5633fa641360da7af51b5d6e64a5b39b
parent 69cc5b59
......@@ -78,7 +78,9 @@
#endif
#ifndef FOLLY_F14_PERTURB_INSERTION_ORDER
#define FOLLY_F14_PERTURB_INSERTION_ORDER folly::kIsDebug
// TODO(T34636025) reenable perturbation
//#define FOLLY_F14_PERTURB_INSERTION_ORDER folly::kIsDebug
#define FOLLY_F14_PERTURB_INSERTION_ORDER false
#endif
namespace folly {
......
......@@ -1567,7 +1567,7 @@ TEST(F14FastMap, disabledDoubleTransparent) {
}
TEST(F14ValueMap, randomInsertOrder) {
if (kIsDebug) {
if (FOLLY_F14_PERTURB_INSERTION_ORDER) {
std::string prev;
bool diffFound = false;
for (int tries = 0; tries < 100; ++tries) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment