[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 <alexmarkov@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
This commit is contained in:
Alexander Markov
2025-12-11 10:59:18 -08:00
committed by Commit Queue
parent 758d3a8803
commit 2a7b2fa0cb
+2 -2
View File
@@ -12,7 +12,7 @@ Future<void> 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<String>();
@@ -24,5 +24,5 @@ Future<void> main() async {
final request = await completer.future;
expect(request, contains('www.example.com'));
callWhenDone();
});
}, timeout: Timeout(Duration(minutes: 1)));
}