Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Set timeout (10s) and retry (3) to all firestore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Mar 31, 2020
1 parent f18a7ef commit 682f92d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/firestore_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@TestOn('browser')
@Timeout(Duration(seconds: 10))
@Retry(3)
import 'dart:async';
import 'dart:typed_data';

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 682f92d

Please sign in to comment.