Control the number of threads in TestExecutor
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 5 May 2017 18:52:53 +0000 (11:52 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 5 May 2017 19:05:17 +0000 (12:05 -0700)
commit0eff88b310ad179eef4cbb6e2d76f6beadd07e16
treed548cc760f0ec9f8a384d7fb031af9571170ccb7
parent3703b1b00456c1ebf84937e579dca392905ab098
Control the number of threads in TestExecutor

Summary:
[Folly] Control the number of threads in `TestExecutor`.

Let the caller control the number of threads to use in each given case.

Reviewed By: spacedentist

Differential Revision: D4999699

fbshipit-source-id: 4acf68cf17fbca14f0779daf0268d54c5606e4a8
folly/futures/test/RetryingTest.cpp
folly/futures/test/TestExecutor.cpp
folly/futures/test/TestExecutor.h
folly/futures/test/TestExecutorTest.cpp