Skip to content

Commit d432b35

Browse files
authored
fix(firestore): increase ITShutdownTest timeout to 50s (#13199)
Increases the timeout rule in `ITShutdownTest` from 5 seconds to 50 seconds. This accommodates the 45-second backend priming budget established in `ITBaseTest` while still protecting CI from hanging indefinitely if a shutdown deadlock occurs. fixes: #13198
1 parent ce156f2 commit d432b35

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • java-firestore/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it

java-firestore/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITShutdownTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838

3939
@RunWith(JUnit4.class)
4040
public class ITShutdownTest extends ITBaseTest {
41-
@Rule public final Timeout timeout = new Timeout(5, TimeUnit.SECONDS);
41+
// 45s budget for ITBaseTest backend priming + 5s budget for shutdown execution
42+
@Rule public final Timeout timeout = new Timeout(50, TimeUnit.SECONDS);
4243
@Rule public TestName testName = new TestName();
4344

4445
@Test

0 commit comments

Comments
 (0)