Disables AtomicLinkedList parallel test case
authorPeizhao Ou <peizhaoo@uci.edu>
Tue, 13 Feb 2018 06:41:49 +0000 (22:41 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Tue, 13 Feb 2018 06:41:49 +0000 (22:41 -0800)
folly/stress-test/stress-parallel-folly-queue.cpp

index ba6ee79..5795f8e 100644 (file)
@@ -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<Queue> 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;