Edouard Tisserant
91ade224dc
ENGINE-188 : reflect fixes in engine and optimized some tests to avoid useless re-decrypting
8 years ago
Edouard Tisserant
27633f183b
Merge default into AllGroupDevicesShowHandshake
8 years ago
Edouard Tisserant
4c3da0373b
Fixed MP syn test python runtime error, with python 3.5 refusing to iterate over mutating dictionary keys
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
53d247f3c7
Use enum instead of constant for default encryption format
9 years ago
Edouard Tisserant
f2b96b2cf8
More details about manager side function being executed in multiprocess tests
9 years ago
Edouard Tisserant
400491f90c
Updated profiling result to match latest pEpEnginge changes. Removed big intermediate measurment file
9 years ago
Edouard Tisserant
677b5cfc03
Some non-significant fix in trace analysis script used in profiling.
9 years ago
Edouard Tisserant
5c7eb7c296
added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace
9 years ago
Edouard Tisserant
8a59e46a0a
uses new sync app notification enum names in mp_sync_test
9 years ago
Edouard Tisserant
6713399047
ENGINE-133 wrapped new notifyHandshake call and enum, added corresponding code to keep tests passing, still didn't add code testing occurence of additional callbacks in timeout or success cases
9 years ago
Edouard Tisserant
2b31a595ad
restored changes from 501073283ae0 'adding namespace to init funcitons', accidentaly overwritten because of old dirty buffer
9 years ago
Edouard Tisserant
5686a7c58f
ENGINE-133 timeout in retrieve_next_sync_msg - tested
9 years ago
Edouard Tisserant
0dd376189d
Some cleanup in test/multipEp.py
9 years ago
Edouard Tisserant
aa586500f1
merge
9 years ago
Edouard Tisserant
c349952198
ENGINE-133 timeout in retrieve_next_sync_msg - now wrapped, with stubs in MultipEp.py
9 years ago
Edouard Tisserant
c0cdf33234
ENGINE-133 timeout in retrieve_next_sync_msg - half baked, not wrapped
9 years ago
Volker Birk
35bc5b4431
adding namespace to init funcitons
9 years ago
Edouard Tisserant
08d8fd268e
Fixed Multiprocess test swallowing exception and continuing with following test as if nothing went wrong
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
e8a86768e6
merge
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
Volker Birk
9fe2f0b181
adding namespace
9 years ago
Edouard Tisserant
9195a49292
Better english for KeySync messages status flags
9 years ago
Edouard Tisserant
5c9e7fdc7e
Multiprocess test : Added option to attach debugger before a particular action in tests
9 years ago
Edouard Tisserant
460a69ad59
ENGINE-139: uses decrypt flags instead of return value for DISCARDED and CONSUMED sync message, thus avoiding undue exceptions
9 years ago
Volker Birk
a1e24dda7d
some wrapper script in utils
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
210d4089a3
test: moved some code around to prepare for test including instances restart
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
0495112817
fixed unallocated free
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
98008c22c9
PEP_MESSAGE_DISCARDED
9 years ago
Edouard Tisserant
b7b7f9f3dd
Added trust_personal_key
9 years ago