Skip to content

Commit c0bf54d

Browse files
committed
increase test timeout
1 parent ac0eafe commit c0bf54d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/src/androidTest/java/com/qiniu/android/PortTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public void test323K() throws Throwable {
6868
}
6969

7070
@MediumTest
71-
public void test4223K() throws Throwable {
72-
fileTemplate(4223);
71+
public void test800K() throws Throwable {
72+
fileTemplate(800);
7373
}
7474

7575
public void fileTemplate(int size) throws Throwable {
@@ -94,7 +94,7 @@ public void complete(String k, ResponseInfo rinfo, JSONObject response) {
9494

9595
private void check(final String expectKey) {
9696
try {
97-
signal.await(120, TimeUnit.SECONDS); // wait for callback
97+
signal.await(600, TimeUnit.SECONDS); // wait for callback
9898
Assert.assertNotNull("timeout", info);
9999
} catch (InterruptedException e) {
100100
e.printStackTrace();

0 commit comments

Comments
 (0)