summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2013-04-26 02:47:44 -0700
committerPatrick Ohly <patrick.ohly@intel.com>2013-05-13 17:49:50 +0200
commit4ad28f7a63ca2052be467a6fd1843a129602cbf8 (patch)
tree8f692506220fe997e0315ac2f97d6d40457b77ed
parent9a3b17b82a1e5ecce56406c0be6af4d9e4b9d33f (diff)
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...
-rwxr-xr-xtest/runtests.py23
1 files changed, 23 insertions, 0 deletions
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",