Skip to content

Commit

Permalink
Update ServerClientTest.java
Browse files Browse the repository at this point in the history
Increase likelihood of server/client test to work

#3229
  • Loading branch information
kasemir authored Jan 10, 2025
1 parent ee828ea commit 2c7d8af
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ public class ServerClientTest {

private static PVAServer testServer() {
if (!PVASettings.EPICS_PVA_ENABLE_IPV6)
PVASettings.EPICS_PVAS_INTF_ADDR_LIST = "0.0.0.0";
{
// Details vary with network setup,
// but forcing use of IPv4 localhost is quite likely to "work"
PVASettings.EPICS_PVAS_INTF_ADDR_LIST = "127.0.0.1";
PVASettings.EPICS_PVA_ADDR_LIST = "127.0.0.1";
}
try {
return new PVAServer();
} catch (Exception e) {
Expand Down

0 comments on commit 2c7d8af

Please sign in to comment.