Skip to content

Commit d00b7ac

Browse files
committed
reduce timeout time
1 parent 2014b6f commit d00b7ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/google/firebase/internal/ApacheHttp2TransportIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void testReadTimeoutAuthorizedPost() throws FirebaseException {
200200
public void testWriteTimeoutAuthorizedGet() throws FirebaseException {
201201
app = FirebaseApp.initializeApp(FirebaseOptions.builder()
202202
.setCredentials(MOCK_CREDENTIALS)
203-
.setWriteTimeout(100)
203+
.setWriteTimeout(1)
204204
.build(), "test-app");
205205
ErrorHandlingHttpClient<FirebaseException> httpClient = getHttpClient(true, app);
206206
HttpRequestInfo request = HttpRequestInfo.buildGetRequest(GET_URL);
@@ -219,7 +219,7 @@ public void testWriteTimeoutAuthorizedGet() throws FirebaseException {
219219
public void testWriteTimeoutAuthorizedPost() throws FirebaseException {
220220
app = FirebaseApp.initializeApp(FirebaseOptions.builder()
221221
.setCredentials(MOCK_CREDENTIALS)
222-
.setWriteTimeout(100)
222+
.setWriteTimeout(1)
223223
.build(), "test-app");
224224
ErrorHandlingHttpClient<FirebaseException> httpClient = getHttpClient(true, app);
225225
HttpRequestInfo request = HttpRequestInfo.buildJsonPostRequest(POST_URL, payload);

0 commit comments

Comments
 (0)