From 2a7b2fa0cb7cb268909a6eff61ee4b853489071d Mon Sep 17 00:00:00 2001 From: Alexander Markov Date: Thu, 11 Dec 2025 10:59:18 -0800 Subject: [PATCH] [gardening] Increase test case timeout in samples/ffi/http/test/http_test Fixes https://github.com/dart-lang/sdk/issues/62228 Change-Id: I1ea25a7440a3920acfd07fa4c91b86ab62b0081d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467640 Commit-Queue: Alexander Markov Reviewed-by: Nate Biggs --- samples/ffi/http/test/http_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/ffi/http/test/http_test.dart b/samples/ffi/http/test/http_test.dart index c43ab99ef61..2321fcea7e9 100644 --- a/samples/ffi/http/test/http_test.dart +++ b/samples/ffi/http/test/http_test.dart @@ -12,7 +12,7 @@ Future main() async { test('httpGet', () async { final response = await httpGet('http://example.com'); expect(response, contains('Hello world!')); - }); + }, timeout: Timeout(Duration(minutes: 1))); test('httpServe', () async { final completer = Completer(); @@ -24,5 +24,5 @@ Future main() async { final request = await completer.future; expect(request, contains('www.example.com')); callWhenDone(); - }); + }, timeout: Timeout(Duration(minutes: 1))); }