From 4ad28f7a63ca2052be467a6fd1843a129602cbf8 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 26 Apr 2013 02:47:44 -0700 Subject: testing: add EDS<->EDS syncing via HTTP Running EDS on the server side is a relevant use case and may have its own share of problems, in particular when the server runs the EDS code in a background thread. Better test that with libebook and libecal... --- test/runtests.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test/runtests.py b/test/runtests.py index 20705e46..c6a35512 100755 --- a/test/runtests.py +++ b/test/runtests.py @@ -1320,6 +1320,29 @@ test = SyncEvolutionTest("edsfile", testPrefix=syncevoPrefix) context.add(test) +# The test uses EDS on the client and server server side. +test = SyncEvolutionTest("edseds", + compile, + "", options.shell, + "Client::Sync::eds_event Client::Sync::eds_contact Client::Sync::eds_event_eds_contact", + [ "eds_event", "eds_contact" ], + "CLIENT_TEST_NUM_ITEMS=10 " + "CLIENT_TEST_LOG=syncevohttp.log " + # Slow, and running many syncs still fails when using + # valgrind. Tested separately below in "edsxfile". + # "CLIENT_TEST_RETRY=t " + # "CLIENT_TEST_RESEND=t " + # "CLIENT_TEST_SUSPEND=t " + # server supports refresh-from-client, use it for + # more efficient test setup + "CLIENT_TEST_DELETE_REFRESH=1 " + # server supports multiple cycles inside the same session + "CLIENT_TEST_PEER_CAN_RESTART=1 " + "CLIENT_TEST_SKIP=" + , + testPrefix=syncevoPrefix) +context.add(test) + # The test uses EDS on the clients and a server config with file # backends - suspend/retry/resend tests. test = SyncEvolutionTest("edsxfile", -- cgit v1.2.3