diff options
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 4440b814af6..14b76f00024 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -218,11 +218,6 @@ class Windows(Platform): if config.uwp: return (["Ice/.*", "IceSSL/configuration"], ["Ice/background", - # - # TODO: Test scripts are killing the Ice/binding test because it takes - # too much time to run - # - "Ice/binding", "Ice/checksum", "Ice/custom", "Ice/defaultServant", @@ -605,6 +600,21 @@ class Mapping: props["IceMX.Metrics.Parent.GroupBy"] = "parent" props["IceMX.Metrics.All.GroupBy"] = "none" + # + # Speed up Windows testing. We override the connect timeout for some tests which are + # establishing connections to inactive ports. It takes around 1s for such connection + # establishment to fail on Windows. + # + if isinstance(platform, Windows): + if current.testsuite.getId().startswith("IceGrid") or \ + current.testsuite.getId() in ["Ice/binding", + "Ice/location", + "Ice/background", + "Ice/faultTolerance", + "Ice/services", + "IceDiscovery/simple"]: + props["Ice.Override.ConnectTimeout"] = "100" + # Additional properties specified on the command line with --cprops or --sprops additionalProps = [] if self.cprops and isinstance(process, Client): |