Commit 507556d0 authored by yihua.huang's avatar yihua.huang

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

parent 55f131e5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment