From 682f92d99d063f0355e7065a16da25ba581c40d9 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 31 Mar 2020 10:43:53 -0700 Subject: [PATCH] Set timeout (10s) and retry (3) to all firestore tests --- test/firestore_test.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/firestore_test.dart b/test/firestore_test.dart index b6da13ed..8d68a8c8 100644 --- a/test/firestore_test.dart +++ b/test/firestore_test.dart @@ -1,4 +1,6 @@ @TestOn('browser') +@Timeout(Duration(seconds: 10)) +@Retry(3) import 'dart:async'; import 'dart:typed_data'; @@ -791,7 +793,7 @@ void main() { // ignore: unawaited_futures ref.doc('message1').set({'value': fs.FieldValue.serverTimestamp()}); - }, timeout: Timeout.parse('10s'), retry: 3); + }); group('Quering data', () { fs.CollectionReference ref;