syncevolution/test
Patrick Ohly 2e62210f5c SyncML server: timeouts for unresponsive clients (MB #7710)
A SyncML server cannot resend a message. With HTTP, a reply simply
cannot be sent, for other transports the D-Bus API doesn't support it.
Therefore RetryInterval is ignored and only RetryDuration is used as
the final timeout after which the session is aborted.

The same transport callback is used for client and server. It was
changed to log the timeout duration (sent in via its parameter). The
rest of the logic is in the caller of TransportAgent::wait().

While touching the timeout code in initSAN(), the resending of the SAN
message was removed. This makes the code consistent with the HTTP
SyncML client case, where the initial message is also not resent.

The new test-dbus.py TestConnection.testTimeoutSync covers thus timeout
handling. It depends on setting RetryDuration to 10 in the server-side
config of the sc-api-nat device.
2010-01-15 17:32:21 +01:00
..
Algorithm copyright updated 2009-03-25 15:21:04 +01:00
test-dbus Testing: add 2 test cases for Session.Restore(MB#8144) 2009-12-22 10:55:58 +08:00
testcases SyncCompare+Nokia 7210c readme 2009-12-17 09:46:36 +08:00
abort-redirect.cpp files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
client-test-main.cpp files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
client.supp valgrind suppression rules 2008-03-16 08:48:26 +00:00
ClientTest.cpp ClientTest: set config.uri to "" instead of null. 2009-12-22 09:51:42 +08:00
ClientTest.h ClientTest: enabling the test with virtual syncsource 2009-12-17 10:18:18 +08:00
compare.xsl Testing: show evolution-prebuilt in html output(bug#7160) 2009-12-01 21:45:33 +01:00
COPYING license: changed to LGPL v2.1 + v3 2009-04-30 18:26:27 +02:00
dbus-server-config.py syncevo-dbus-server: add test script for getConfigs 2009-10-29 10:08:27 +01:00
dbus-server-connect.py syncevo-dbus-server: moved to gdbus with C++ bridge 2009-10-07 18:03:16 +02:00
dbus-server-http.py syncevo-dbus-server: implemented syncs via Connection API 2009-10-07 18:12:21 +02:00
dbus-server-sync.py syncevo-dbus-server: implemented Session.Sync() parameter handling 2009-10-07 18:10:06 +02:00
dbus-session.sh testing: valgrindcheck and dbus-session scripts 2009-07-15 17:03:33 +02:00
evo.supp Testing: add suppressions for valgrind in evo.supp 2009-12-01 21:45:33 +01:00
generate-html.xsl Testing: show evolution-prebuilt in html output(bug#7160) 2009-12-01 21:45:33 +01:00
Makefile.am testing: skip certain tests by listing them in CLIENT_TEST_SKIP 2009-07-13 18:31:48 +02:00
README.funambol README.funambol: added comment about TRIGGER start times (MB #7656, #7806) 2009-12-10 13:47:21 +01:00
README.google documentation: Google drops photos larger than a certain threshold (Bugzilla #4638) 2009-07-23 13:13:41 +02:00
README.memotoo Memotoo: Add new suppressions to synccompare, README.memotoo and 2009-09-15 11:31:22 +02:00
README.mobical Mobical: skip unit test testOneWayFromClient(MB#8121) 2009-12-01 21:42:41 +01:00
README.nokia_7210c Testing+Nokia_7210c: fix a typo 2009-12-21 13:15:19 +08:00
README.scheduleworld NEWS + README.scheduleworld: updated for 0.9 2009-08-11 19:22:18 +02:00
README.zyb ZYB: add README.zyb and customize test cases(MB#2424) 2009-12-01 21:45:42 +01:00
resultchecker.py Testing: result check 2009-12-01 21:45:34 +01:00
runtests.py nightly testing: git fetch fixes 2009-12-01 21:45:34 +01:00
synccompare.pl synccompare: fix regressions of mobical interoperability test 2010-01-07 13:35:17 +08:00
syncevo-http-server.py SyncML server: find configuration for client automatically (MB#7710) 2009-11-06 12:04:51 +01:00
sys.supp testing: updated valgrind regression rules 2009-07-09 13:49:32 +02:00
test-dbus.py SyncML server: timeouts for unresponsive clients (MB #7710) 2010-01-15 17:32:21 +01:00
test.cpp files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
test.h files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
valgrindcheck.sh valgrindcheck.sh: don't force --leak-check and --trace-children 2009-12-01 21:45:33 +01:00

This document is used to show interoperability test information with zyb server.
http://bugzilla.moblin.org/show_bug.cgi?id=2424

* The zyb Server's device information 
  ZYB HTTP SyncML Server
  Version:3.9.18
  Build:3.9.18b572

* Test Environment Variables Settings
  CLIENT_TEST_SERVER=zyb CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/test/
 
* Test Profiles Settings
  -- N/A

* Data formats we need to test:
  -- Client::Sync::vcard21

* Know Limitations in ZYB server:
VCard21
  -- Only below properties are accepted:
     FN, N, PHOTO, BDAY, ADR, LABEL, TEL, EMAIL, TZ, GEO, TITLE, ROLE, LOGO, ORG, NOTE, REV, SOUND, URL 
  -- The property 'N' parser error: treat "\;" as the delimiter
  -- The property 'ADR': if it is long, three extra chars '\r', '\n' and ' 'will be added in the property value.
  -- Server does escaped text processing, e.g, "&lt\;" is converted to "<"
  -- Server sends mismatch anchors between two sync even if there is no failure. 

* Known test failures:
  -- NONE