We're still occasionally hitting file descriptor limits when running
this test. Reduce the thread count to 32 for now, since it was possible
to reproduce the original problem with 10 or so threads.
Fixes: https://tracker.ceph.com/issues/49559
Signed-off-by: Jeff Layton <jlayton@redhat.com>
// See tracker #20988
TEST(LibCephFS, ShutdownRace)
{
- const int nthreads = 128;
+ const int nthreads = 32;
std::thread threads[nthreads];
// Need a bunch of fd's for this test