Commit 896bf5c2 authored by TJ Yin's avatar TJ Yin Committed by Facebook GitHub Bot

fix unit-test timeout by reducing iteration

Reviewed By: Orvid

Differential Revision: D24805802

fbshipit-source-id: 5ce7ef1c32395bc7d92046335278c0249eb0aee7
parent 3e554553
......@@ -665,7 +665,7 @@ template <bool Dynamic = false>
void runMtProdConsEmulatedFutex() {
using QueueType = MPMCQueue<int, EmulatedFutexAtomic, Dynamic>;
int n = 100000;
const int n = 100000 / (folly::kIsSanitizeThread ? 10 : 1);
vector<unique_ptr<WriteMethodCaller<QueueType>>> callers;
callers.emplace_back(std::make_unique<BlockingWriteCaller<QueueType>>());
callers.emplace_back(std::make_unique<WriteIfNotFullCaller<QueueType>>());
......
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