diff options
Diffstat (limited to 'cpp/test/IceDiscovery/simple/run.py')
-rwxr-xr-x | cpp/test/IceDiscovery/simple/run.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/IceDiscovery/simple/run.py b/cpp/test/IceDiscovery/simple/run.py index e48dd655664..5de3fedd862 100755 --- a/cpp/test/IceDiscovery/simple/run.py +++ b/cpp/test/IceDiscovery/simple/run.py @@ -27,6 +27,10 @@ num = 3 args = " --IceDiscovery.Timeout=50" args += " --IceDiscovery.RetryCount=5" +if not TestUtil.ipv6: + args += " --IceDiscovery.Interface=127.0.0.1" +elif TestUtil.isDarwin(): + args += " --IceDiscovery.Interface=\"::1\"" # Set the plugin property only for the server, the client uses Ice::registerIceDiscovery() serverArgs = " --Ice.Plugin.IceDiscovery=IceDiscovery:createIceDiscovery" + args |