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

pull/395/merge
yihua.huang 8 years ago
parent 55f131e5ef
commit 507556d0aa

@ -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);

Loading…
Cancel
Save