Skip to content

Commit

Permalink
test: Increase timeout for RecursiveDeleteTests (#1498)
Browse files Browse the repository at this point in the history
* Increase timeout for RecursiveDeleteTests.

* test: Increase timeout for RecursiveDeleteTests.

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Also increase the timeout for BulkWriter.

2 seconds isn't enough sometimes.
See: https://github.com/googleapis/java-firestore/actions/runs/7122590138/job/19393867730?pr=1499#step:5:1857

* revert the timeout change for bulkwriter tests.

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
ehsannas and gcf-owl-bot[bot] authored Dec 8, 2023
1 parent 5573d3a commit dfbcd9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

@RunWith(MockitoJUnitRunner.class)
public class RecursiveDeleteTest {
@Rule public Timeout timeout = new Timeout(5, TimeUnit.SECONDS);
@Rule public Timeout timeout = new Timeout(10, TimeUnit.SECONDS);

@Spy private final FirestoreRpc firestoreRpc = Mockito.mock(FirestoreRpc.class);

Expand Down

0 comments on commit dfbcd9d

Please sign in to comment.