From acbb1733161c03c37d7b3f553c896c477594f64e Mon Sep 17 00:00:00 2001 From: YangSen-qn Date: Tue, 28 May 2024 10:37:11 +0800 Subject: [PATCH] change dns test --- .../java/com/qiniu/android/http/dns/SystemDnsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/src/androidTest/java/com/qiniu/android/http/dns/SystemDnsTest.java b/library/src/androidTest/java/com/qiniu/android/http/dns/SystemDnsTest.java index 94eebc3a..39e86ca2 100644 --- a/library/src/androidTest/java/com/qiniu/android/http/dns/SystemDnsTest.java +++ b/library/src/androidTest/java/com/qiniu/android/http/dns/SystemDnsTest.java @@ -16,9 +16,9 @@ public class SystemDnsTest extends BaseTest { @Test public void testDnsLookup() { - SystemDns dns = new SystemDns(5); + SystemDns dns = new SystemDns(10); try { - List result = dns.lookup("upload.qiniup.com"); + List result = dns.lookup("uplog.qbox.me"); assertTrue("testDnsLookup fail:", result != null && result.size() > 0); } catch (UnknownHostException e) { e.printStackTrace();