[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/akonadi/tests
From: Volker Krause <vkrause () kde ! org>
Date: 2009-02-28 22:18:06
Message-ID: 1235859486.864816.30250.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 933433 by vkrause:
Simple test case for server crashs during retrieval error bursts.
Doesn't seem to happen with the new retrieval code anymore though.
M +12 -0 cachetest.cpp
--- trunk/KDE/kdepimlibs/akonadi/tests/cachetest.cpp #933432:933433
@@ -45,6 +45,18 @@
}
private slots:
+ void testRetrievalErrorBurst() // caused rare server crashs with old item retrieval code
+ {
+ Collection col( collectionIdFromPath( "res1/foo" ) );
+ QVERIFY( col.isValid() );
+
+ enableAgent( "akonadi_knut_resource_0", false );
+
+ ItemFetchJob *fetch = new ItemFetchJob( col, this );
+ fetch->fetchScope().fetchFullPayload( true );
+ QVERIFY( fetch->exec() );
+ }
+
void testResourceRetrievalOnFetch_data()
{
QTest::addColumn<Item>( "item" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic