From 16ab8077c92bc5c558a7584af320f40a074cb74c Mon Sep 17 00:00:00 2001 From: woodong Date: Tue, 31 Aug 2021 13:42:44 +0800 Subject: [PATCH] Update FunctionResolveTest.php --- tests/FunctionResolveTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FunctionResolveTest.php b/tests/FunctionResolveTest.php index bdfe668f..b313fbe9 100644 --- a/tests/FunctionResolveTest.php +++ b/tests/FunctionResolveTest.php @@ -130,12 +130,12 @@ public function shouldSupportVeryDeepNestedPromises() { $deferreds = []; - for ($i = 0; $i < 250; $i++) { + for ($i = 0; $i < 150; $i++) { $deferreds[] = $d = new Deferred(); $p = $d->promise(); $last = $p; - for ($j = 0; $j < 250; $j++) { + for ($j = 0; $j < 150; $j++) { $last = $last->then(function ($result) { return $result; });