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))); }