File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
androidTest/java/com/qiniu/android/http
main/java/com/qiniu/android/common Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,7 @@ public boolean shouldWait() {
163163 }
164164 }, 60 );
165165
166- assertTrue ("status code:" + info .statusCode , info .statusCode == 418 || info .statusCode % 100 == 5 );
167- assertEquals (418 , info .statusCode );
166+ assertTrue ("status code:" + info .statusCode , info .statusCode == 418 || (info .statusCode / 100 == 5 ));
168167 assertNotNull (info .error );
169168 }
170169
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ public final class Config {
6868 /**
6969 * preQuery host
7070 */
71- public static String preQueryHost00 = "uc.qbox.me " ;
72- public static String preQueryHost01 = "api.qiniu.com " ;
73- public static String preQueryHost02 = "kodo-config.qiniuapi .com" ;
71+ public static String preQueryHost00 = "kodo-config.qiniuapi.com " ;
72+ public static String preQueryHost01 = "uc.qbox.me " ;
73+ public static String preQueryHost02 = "api.qiniu .com" ;
7474
7575 public static String [] preQueryHosts () {
76- return new String []{preQueryHost00 , preQueryHost02 , preQueryHost01 };
76+ return new String []{preQueryHost00 , preQueryHost01 , preQueryHost02 };
7777 }
7878
7979 /**
You can’t perform that action at this time.
0 commit comments