From: Peizhao Ou Date: Tue, 13 Feb 2018 06:41:49 +0000 (-0800) Subject: Disables AtomicLinkedList parallel test case X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a5562cb52be583e617374b7ef66c5560946dc11b;p=folly.git Disables AtomicLinkedList parallel test case --- diff --git a/folly/stress-test/stress-parallel-folly-queue.cpp b/folly/stress-test/stress-parallel-folly-queue.cpp index ba6ee797..5795f8e2 100644 --- a/folly/stress-test/stress-parallel-folly-queue.cpp +++ b/folly/stress-test/stress-parallel-folly-queue.cpp @@ -178,13 +178,14 @@ size_t FollyQueueEnqueueDequeueTest_Parallel::s_nMPMCQueueEnqueueStride; size_t FollyQueueEnqueueDequeueTest_Parallel::s_nMPMCQueueCapacity; size_t FollyQueueEnqueueDequeueTest_Parallel::s_nMPMCQueueEnqueueCount; +/* Not a real full-blown data structure. Don't run it in parallel. // Used as a MPSC queue. TEST_F(FollyQueueEnqueueDequeueTest_Parallel, FollyAtomicLinkedList) { typedef AtomicLinkedList Queue; std::unique_ptr q(new Queue()); - FollyMPMCThreading(q.get(), s_nThreadCount - 1, s_nAtomicLinkedListPassCount, - 1); + FollyMPMCThreading(q.get(), s_nThreadCount - 1, s_nAtomicLinkedListPassCount, 1); } +*/ TEST_F(FollyQueueEnqueueDequeueTest_Parallel, FollyMPMCQueue) { typedef MPMCQueue Queue;