Edouard Tisserant
0700cfae0b
Sync test : added test to ensure losing key propagates in group
8 years ago
Edouard Tisserant
0fe529ccc2
ENGINE-188 : reflect fixes in engine, continued
8 years ago
Edouard Tisserant
91ade224dc
ENGINE-188 : reflect fixes in engine and optimized some tests to avoid useless re-decrypting
8 years ago
Edouard Tisserant
8e61c20e82
Reworked Multi Process Sync tests auto-handshake to reflect the fact that now handshake dialog shows on all devices in the group, and disapear when one of them is answered. As a side effect, added a multiprocess namespace for test config parameters. Test still breaks in keygen_in_a_group_of_3_members.
8 years ago
Edouard Tisserant
96de8e4d5a
Sync Tests : change expected cycle counts, observing new behaviors change caused by pepengine 10e4e77e2278.
8 years ago
Edouard Tisserant
486e978025
Reflect latest changes in Engine's GroupMerge branch
8 years ago
Edouard Tisserant
79a5a4dc59
Update sync test to reflect recent changes in Engine (1575:ae0c4b0953a5) - maybe should I just remove those expect(n)...
9 years ago
Edouard Tisserant
acb5102f5f
Update test to reflect pEpEngine fcb7bade5c5f : 'KeySync: Send GroupUpdate immediately after receiving GroupKeys when joining a group. This is intended to spread key that did lose the election to the group, without waiting for CannotDecrypt'
9 years ago
Edouard Tisserant
5686a7c58f
ENGINE-133 timeout in retrieve_next_sync_msg - tested
9 years ago
Edouard Tisserant
1127187efe
ENGINE-140 fixed details in test for exclution of identity from sync
9 years ago
Edouard Tisserant
42c6ebc2e8
ENGINE-140 #comment Added test for PEP_idf_not_for_sync on own identity - still not passing
9 years ago
Edouard Tisserant
2a6343b72c
Added flags to Identity constructor, set_identity_flags, unset_identity_flags.
Added support for pEp enums through boost enums<>, reflected in tests.
Switched MultiProcess Sync test from fork to spawn, to work around problems when loading pEp module from main process before forking child processes.
Fixed temp dir being destroyed in case of exception, preventing post-mortem analysis of management DB.
9 years ago
Edouard Tisserant
b91706fbcd
Tests: Added only_$TestName command line argument to multiprocess test, to select a single test to run.
9 years ago
Edouard Tisserant
5c9e7fdc7e
Multiprocess test : Added option to attach debugger before a particular action in tests
9 years ago
Edouard Tisserant
7f6cb7cac5
test: re-enabled group_suvives_restart
9 years ago
Edouard Tisserant
883e4b61d2
tests : fixed instance restart. added test to check survival of group to restarts (failing)
9 years ago
Edouard Tisserant
6f49ae0362
test: fixed and enabled group update on missing key test
9 years ago
Edouard Tisserant
07e827e283
added test for group update on missing key, disabled until fixed
9 years ago
Edouard Tisserant
b2c6adbbf7
Fixed group update test, added per-instance debug command line option
9 years ago
Edouard Tisserant
87009e4e45
MP tests : added group updated test (crashing for now, pepengine needs a fix)
9 years ago
Edouard Tisserant
9f859ce26f
More multi process based tests
9 years ago
Edouard Tisserant
67f1d46c15
Multi process test use now generator instead of sequence to describe the test, making easier to implement test logic and storage of intermediate results
9 years ago
Edouard Tisserant
78c2aabb3b
Multi process test now behaves as a real functional test, and fires exception if mail that should be decrypted by group isn't decrypted
9 years ago
Edouard Tisserant
555c93691a
various enhancements in multiprocess test - to be continued
9 years ago
Edouard Tisserant
4930c6eb56
refactored multi process test framework, so that test can evaluate to failed/passed and not require someone to read and interpred if it did work
9 years ago
Edouard Tisserant
1939e58014
mp_sync_test added time offset on msg->rcv to test expiry of sync message
9 years ago
Edouard Tisserant
d60808c058
MP sync test : added an instance to test sync with more than two device
9 years ago
Edouard Tisserant
0f19e8ce83
mp_sync_test : added trustwords based device group handshake checking and accepting
9 years ago
Edouard Tisserant
8e76d46ba2
added lldb attach to created test processes in multiprocessing based test
9 years ago
Edouard Tisserant
46175a3d52
Better multi-process test. Still PEP_MESSAGE_CONSUMED needs to be supported
9 years ago
Edouard Tisserant
ae6b045037
added multiple pEp instance test (failing) for keysync, as well as multipEp.py, a module using multiprocessing to execute test scenario implying multiple pEp instances
9 years ago