summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2019-07-24 08:49:06 +0200
committerRainer Keller <Rainer.Keller@qt.io>2019-07-24 11:31:28 +0200
commit86495da0779fa043e8b66e6875b84bf1c1c1d4b5 (patch)
tree9a050fd48ee86a657cf9c20f734677e8f0185792
parentda692801b05edc48337b2ca23cc944fd23c4a5a4 (diff)
tests: Fix declarative auto test
The test was failing on Mac Change-Id: I518369a1914e7c68400d11aba2f2fa8e3809da4a Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
-rw-r--r--tests/auto/declarative/SubscriptionsTest.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/SubscriptionsTest.qml b/tests/auto/declarative/SubscriptionsTest.qml
index cad8ff5..abd64ad 100644
--- a/tests/auto/declarative/SubscriptionsTest.qml
+++ b/tests/auto/declarative/SubscriptionsTest.qml
@@ -120,7 +120,8 @@ Item {
compare(node1IntervalSpy.count, 0);
compare(node1.monitored, true);
- // This needs to be reset to "Value" for follow up tests to succeed.
+ // The value needs to be reset to "Value" for follow up tests to succeed.
+ node1ValueSpy.clear();
node2.value = "Value";
node1ValueSpy.wait();
compare(node1ValueSpy.count, 1);