diff options
author | Olli Salli <ollisal@gmail.com> | 2011-01-03 16:25:46 +0200 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2011-01-03 16:25:46 +0200 |
commit | c9cc696567ce6d633405bcfc02cf50fef699e316 (patch) | |
tree | 54df1896e771d059014d1150dc5e29ea909ca10a | |
parent | c8e9e5a194b483bc5f5777870ffd0911d0f2919e (diff) |
Make TestConnRosterGroups fake congestion less fscking slow
-rw-r--r-- | tests/dbus/conn-roster-groups.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbus/conn-roster-groups.cpp b/tests/dbus/conn-roster-groups.cpp index 4c5bc7f5..8cc7649d 100644 --- a/tests/dbus/conn-roster-groups.cpp +++ b/tests/dbus/conn-roster-groups.cpp @@ -71,7 +71,7 @@ private: void TestConnRosterGroups::causeCongestion(const ConnectionPtr &conn, const ContactPtr &contact) { // Cause some congestion in the roster events queue so we can check that it doesn't cause // inconsistent event reordering - for (int i = 0; i < 100; i++) { + for (int i = 0; i < 5; i++) { QString name = QString(QLatin1String("Rush%1")).arg(i); conn->contactManager()->addGroup(name); conn->contactManager()->addContactsToGroup(name, QList<ContactPtr>() << contact); |