File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/src/androidTest/java/com/qiniu/android Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class ConnectCheckTest extends BaseTest {
77
88 public void testCheck () {
99
10- int maxCount = 1000 ;
10+ int maxCount = 100 ;
1111 int successCount = 0 ;
1212 for (int i = 0 ; i < maxCount ; i ++) {
1313 if (ConnectChecker .check ()) {
@@ -20,7 +20,7 @@ public void testCheck() {
2020
2121 public void testCustomCheckHosts () {
2222 GlobalConfiguration .getInstance ().connectCheckURLStrings = new String []{"https://www.baidu.com" };
23- int maxCount = 1000 ;
23+ int maxCount = 100 ;
2424 int successCount = 0 ;
2525 for (int i = 0 ; i < maxCount ; i ++) {
2626 if (ConnectChecker .check ()) {
@@ -33,7 +33,7 @@ public void testCustomCheckHosts() {
3333
3434 public void testNotConnected () {
3535 GlobalConfiguration .getInstance ().connectCheckURLStrings = new String []{"https://www.test1.com" , "https://www.test2.com" };
36- int maxCount = 1000 ;
36+ int maxCount = 100 ;
3737 int successCount = 0 ;
3838 for (int i = 0 ; i < maxCount ; i ++) {
3939 if (ConnectChecker .check ()) {
You can’t perform that action at this time.
0 commit comments