Skip to content

Commit

Permalink
change dns test
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed May 28, 2024
1 parent 8557029 commit acbb173
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<IDnsNetworkAddress> result = dns.lookup("upload.qiniup.com");
List<IDnsNetworkAddress> result = dns.lookup("uplog.qbox.me");
assertTrue("testDnsLookup fail:", result != null && result.size() > 0);
} catch (UnknownHostException e) {
e.printStackTrace();
Expand Down

0 comments on commit acbb173

Please sign in to comment.