fix test: ProxyTest.testProxy() do not load exist proxy config
parent
55f131e5ef
commit
507556d0aa
|
@ -30,7 +30,7 @@ public class ProxyTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testProxy() {
|
public void testProxy() {
|
||||||
SimpleProxyPool proxyPool = new SimpleProxyPool(httpProxyList);
|
SimpleProxyPool proxyPool = new SimpleProxyPool(httpProxyList,false);
|
||||||
proxyPool.setReuseInterval(500);
|
proxyPool.setReuseInterval(500);
|
||||||
assertThat(proxyPool.getIdleNum()).isEqualTo(4);
|
assertThat(proxyPool.getIdleNum()).isEqualTo(4);
|
||||||
assertThat(new File(proxyPool.getProxyFilePath()).exists()).isEqualTo(true);
|
assertThat(new File(proxyPool.getProxyFilePath()).exists()).isEqualTo(true);
|
||||||
|
|
Loading…
Reference in New Issue