Skip to content

Commit 9cb6d88

Browse files
committed
Merge pull request #123 from longbai/upport_backup
fixed ipbackuptest
2 parents b2080ab + 9246d58 commit 9cb6d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,13 @@ public void testIpBack() throws Throwable {
287287
Configuration c = new Configuration.Builder()
288288
.zone(new Zone("upwelcome.qiniu.com", Zone.zone0.upHostBackup, Zone.zone0.upIp))
289289
.build();
290-
UploadManager _up = new UploadManager(c);
290+
UploadManager uploadManager2 = new UploadManager(c);
291291
final String expectKey = "你好;\"\r\n\r\n\r\n";
292292
Map<String, String> params = new HashMap<String, String>();
293293
params.put("x:foo", "fooval");
294294
final UploadOptions opt = new UploadOptions(params, null, true, null, null);
295295

296-
uploadManager.put("hello".getBytes(), expectKey, TestConfig.token, new UpCompletionHandler() {
296+
uploadManager2.put("hello".getBytes(), expectKey, TestConfig.token, new UpCompletionHandler() {
297297
public void complete(String k, ResponseInfo rinfo, JSONObject response) {
298298
Log.i("qiniutest", k + rinfo);
299299
key = k;

0 commit comments

Comments
 (0)