diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2019-07-24 12:38:40 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2019-07-24 15:26:40 +0200 |
commit | eddefdb7d3237584d0bc73cc4929f3569e89c459 (patch) | |
tree | c64fbdef855697c070823958e99e4adf098d26c8 | |
parent | 86495da0779fa043e8b66e6875b84bf1c1c1d4b5 (diff) |
tests: Wait for values to settle after monitoring
Change-Id: I0bb422ef58706ee72085a973a4fa46319b5c8e30
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
-rw-r--r-- | tests/auto/declarative/SubscriptionsTest.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/SubscriptionsTest.qml b/tests/auto/declarative/SubscriptionsTest.qml index abd64ad..97de353 100644 --- a/tests/auto/declarative/SubscriptionsTest.qml +++ b/tests/auto/declarative/SubscriptionsTest.qml @@ -120,6 +120,9 @@ Item { compare(node1IntervalSpy.count, 0); compare(node1.monitored, true); + // Wait for values to settle + tryCompare(node1, "value", "bar"); + // The value needs to be reset to "Value" for follow up tests to succeed. node1ValueSpy.clear(); node2.value = "Value"; |