Fix intermittent failure in concurrent_skip_list_test
authorTudor Bosman <tudorb@fb.com>
Wed, 13 Jun 2012 00:08:04 +0000 (17:08 -0700)
committerTudor Bosman <tudorb@fb.com>
Wed, 13 Jun 2012 00:45:35 +0000 (17:45 -0700)
commit827861961925702ee5e60b043f5d8f6686a3b64a
tree5f0828b50fa6bda1a8c5cf47eb0afe625579a87a
parent62bbd01ab3c319d60863a89fbd5ceb85bd03119c
Fix intermittent failure in concurrent_skip_list_test

Summary: It creates too many threads, stop when we run out of resources.

Test Plan: by hand, in a loop, in a memory-constrained environment

Reviewed By: delong.j@fb.com

FB internal diff: D493239
folly/test/ConcurrentSkipListTest.cpp