diff --git a/dio/test/cancel_token_test.dart b/dio/test/cancel_token_test.dart index 9ba6bd1ec..76b6b506f 100644 --- a/dio/test/cancel_token_test.dart +++ b/dio/test/cancel_token_test.dart @@ -173,7 +173,7 @@ void main() { expect(requestsReferences, hasLength(2)); // GC. - List.generate(1 * 1024 * 1024, (index) => Object()); + List.generate(4 * 1024 * 1024, (index) => Object()); expect(requestsReferences.every((e) => e.target == null), isTrue); }); }