diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2019-03-18 14:53:21 +0100 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2019-03-18 14:04:00 +0000 |
commit | c21c7641f77da03b8a8b32060b2be97cb1e3c4f9 (patch) | |
tree | 54607c81a491aaaf22d885541f809f28f6a37a78 | |
parent | f57e68a6b266d3f93840fcd26146bd5e261bfb0f (diff) |
tests: Fix autotest against secure server
Change-Id: I17d41aa3f7c1ea4a175621a515e3be7f817c60d3
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
-rw-r--r-- | tests/auto/declarative/DiscoveryTest.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/declarative/DiscoveryTest.qml b/tests/auto/declarative/DiscoveryTest.qml index 9a64365..a099981 100644 --- a/tests/auto/declarative/DiscoveryTest.qml +++ b/tests/auto/declarative/DiscoveryTest.qml @@ -152,7 +152,10 @@ Item { compare(endpointsChangedSpy1.count, 2); tryVerify(function() { return myEndpoints1.count > 0;}); - compare(myEndpoints1.count, 1); + if (SERVER_SUPPORTS_SECURITY) + compare(myEndpoints1.count, 5); + else + compare(myEndpoints1.count, 1); verify(myEndpoints1.at(0).endpointUrl.startsWith("opc.tcp://")); compare(myEndpoints1.at(0).securityPolicyUri, "http://opcfoundation.org/UA/SecurityPolicy#None"); |