From d6b783c06681020163f1d382745081fac00791d1 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 5 Jan 2025 19:40:20 -0800 Subject: [PATCH] Increase stack sizes for fibers test Reviewed By: yfeldblum Differential Revision: D67801759 fbshipit-source-id: c8da89ea5fb8e5f4b12e17c3362618d3b3e3eaed --- folly/fibers/test/FibersTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/folly/fibers/test/FibersTest.cpp b/folly/fibers/test/FibersTest.cpp index 170ab559b32..5b3e9d8b3d0 100644 --- a/folly/fibers/test/FibersTest.cpp +++ b/folly/fibers/test/FibersTest.cpp @@ -1763,7 +1763,7 @@ TEST(FiberManager, nestedFiberManagersSameEvb) { // Use frozen options FiberManager::Options used; - used.stackSize = 1024; + used.stackSize = 2048; FiberManager::FrozenOptions options{used}; auto& fm2 = getFiberManager(evb, options); EXPECT_NE(&fm1, &fm2); @@ -1772,12 +1772,12 @@ TEST(FiberManager, nestedFiberManagersSameEvb) { EXPECT_EQ(&fm2, &getFiberManager(evb, options)); EXPECT_EQ(&fm2, &getFiberManager(evb, FiberManager::FrozenOptions{used})); FiberManager::Options same; - same.stackSize = 1024; + same.stackSize = 2048; EXPECT_EQ(&fm2, &getFiberManager(evb, FiberManager::FrozenOptions{same})); // Different option FiberManager::Options differ; - differ.stackSize = 2048; + differ.stackSize = 4096; auto& fm3 = getFiberManager(evb, FiberManager::FrozenOptions{differ}); EXPECT_NE(&fm1, &fm3); EXPECT_NE(&fm2, &fm3);