fix test: ProxyTest.testProxy() do not load exist proxy config

master
yihua.huang 2016-11-19 12:54:39 +08:00
parent 55f131e5ef
commit 507556d0aa
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class ProxyTest {
@Test
public void testProxy() {
SimpleProxyPool proxyPool = new SimpleProxyPool(httpProxyList);
SimpleProxyPool proxyPool = new SimpleProxyPool(httpProxyList,false);
proxyPool.setReuseInterval(500);
assertThat(proxyPool.getIdleNum()).isEqualTo(4);
assertThat(new File(proxyPool.getProxyFilePath()).exists()).isEqualTo(true);