Unit test by package broken?

已回答

Hello, 

I just upgraded to :

IntelliJ IDEA 2017.2.3
Build #IU-172.3968.16, built on August 21, 2017
Licensed to Brice LEPORINI
Subscription is active until April 10, 2018
JRE: 1.8.0_152-release-915-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.10.5

and I run an existing test suite (by package) and it fails because of a network issue:

java.net.SocketException: SOCKS: Connection refused
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:562)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:244)
at com.intellij.rt.execution.junit.JUnitStarter.processParameters(JUnitStarter.java:120)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:59)

Process finished with exit code 254
Empty test suite.

 

0

Does it help if set IDE proxy settings to No Proxy? See https://www.jetbrains.com/help/idea/http-proxy.html.

0

 Well this clue led me to the  proxy setting pref screen that displays a strange message: 

As there is no manual proxy configuration, where can I find this JVM property mentioned?

 

Thanks

0

Check your system proxy settings and environment variables.

See also https://intellij-support.jetbrains.com/hc/articles/206544869.

0

请先登录再写评论。