diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2019-03-18 14:53:46 +0100 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2019-03-20 07:07:13 +0000 |
commit | f960aabada45dae582890ba34813be5dd81eb0d1 (patch) | |
tree | 20fccb70e55aba5bcd69e843569994525fb8a914 | |
parent | f4a67133998ba192b92c509be863c1d0dd0e1ce4 (diff) |
tests: Wait again in case of delays
Change-Id: Ibcce070d02cabf67195ef339b897752a0d907d0f
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
-rw-r--r-- | tests/auto/declarative/DiscoveryTest.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/DiscoveryTest.qml b/tests/auto/declarative/DiscoveryTest.qml index a099981..9c04f07 100644 --- a/tests/auto/declarative/DiscoveryTest.qml +++ b/tests/auto/declarative/DiscoveryTest.qml @@ -148,6 +148,8 @@ Item { endpointsStatusSpy1.wait(); compare(myEndpoints1.status.status, QtOpcUa.Status.GoodCompletesAsynchronously); compare(endpointsCountSpy1.count, 0); + if (endpointsStatusSpy1.count == 1) + endpointsStatusSpy1.wait(); compare(endpointsStatusSpy1.count, 2); compare(endpointsChangedSpy1.count, 2); |