Commit Graph

62 Commits (test_diphoton)

Author SHA1 Message Date
Edouard Tisserant b7a235c3f4 Typo while merging... 2017-06-22 12:33:53 +02:00
Edouard Tisserant fd6bead406 Merged latest default in test_diphoton 2017-06-21 15:46:06 +02:00
Edouard Tisserant 74a2acb137 added test for message to self rating, before and after sync 2017-06-20 21:36:35 +02:00
Edouard Tisserant 29735d3c93 better msg recipienzts printing in multipEp.py 2017-06-20 21:36:02 +02:00
Edouard Tisserant 5bb0bcd4ff Updated docs in tests 2017-05-12 16:29:28 +02:00
Edouard Tisserant c16b88d914 Sync test : added test command line parameter to specify library search path for each instance, in order to test sync in between netpgp and gpg 2017-05-12 02:23:01 +02:00
Edouard Tisserant b784623c9f Merged default into diphoton 2017-05-04 15:17:04 +02:00
Edouard Tisserant 9518ea78d1 ENGINE-187 reworked timeout impl and added remaining time return when timeout interrupted by message 2017-04-20 16:39:52 +02:00
Edouard Tisserant 0700cfae0b Sync test : added test to ensure losing key propagates in group 2017-04-19 17:08:44 +02:00
Edouard Tisserant e06549d267 Reduce test coverge to match 'diphoton' test release features 2017-03-15 15:07:23 +01:00
Edouard Tisserant 0fe529ccc2 ENGINE-188 : reflect fixes in engine, continued 2017-03-13 14:34:48 +01:00
Edouard Tisserant 91ade224dc ENGINE-188 : reflect fixes in engine and optimized some tests to avoid useless re-decrypting 2017-03-12 13:28:22 +01:00
Edouard Tisserant 27633f183b Merge default into AllGroupDevicesShowHandshake 2017-03-07 23:21:42 +01:00
Edouard Tisserant 4c3da0373b Fixed MP syn test python runtime error, with python 3.5 refusing to iterate over mutating dictionary keys 2017-03-07 18:22:26 +01:00
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. 2017-03-07 16:52:28 +01:00
Edouard Tisserant 96de8e4d5a Sync Tests : change expected cycle counts, observing new behaviors change caused by pepengine 10e4e77e2278. 2017-02-21 23:12:10 +01:00
Edouard Tisserant 486e978025 Reflect latest changes in Engine's GroupMerge branch 2017-02-17 19:52:21 +01:00
Edouard Tisserant 79a5a4dc59 Update sync test to reflect recent changes in Engine (1575:ae0c4b0953a5) - maybe should I just remove those expect(n)... 2017-02-13 00:19:10 +01:00
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' 2017-01-31 12:08:02 +01:00
Edouard Tisserant f2b96b2cf8 More details about manager side function being executed in multiprocess tests 2017-01-27 11:45:22 +01:00
Edouard Tisserant 400491f90c Updated profiling result to match latest pEpEnginge changes. Removed big intermediate measurment file 2016-12-21 15:15:50 +01:00
Edouard Tisserant 677b5cfc03 Some non-significant fix in trace analysis script used in profiling. 2016-12-15 18:48:56 +01:00
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 2016-12-14 02:25:08 +01:00
Edouard Tisserant 8a59e46a0a uses new sync app notification enum names in mp_sync_test 2016-12-09 01:38:02 +01:00
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 2016-12-02 01:31:36 +01:00
Edouard Tisserant 5686a7c58f ENGINE-133 timeout in retrieve_next_sync_msg - tested 2016-11-30 02:56:53 +01:00
Edouard Tisserant 0dd376189d Some cleanup in test/multipEp.py 2016-11-29 11:12:13 +01:00
Edouard Tisserant c349952198 ENGINE-133 timeout in retrieve_next_sync_msg - now wrapped, with stubs in MultipEp.py 2016-11-29 01:00:22 +01:00
Edouard Tisserant 08d8fd268e Fixed Multiprocess test swallowing exception and continuing with following test as if nothing went wrong 2016-11-21 22:28:27 +01:00
Edouard Tisserant 1127187efe ENGINE-140 fixed details in test for exclution of identity from sync 2016-11-20 02:10:17 +01:00
Edouard Tisserant 42c6ebc2e8 ENGINE-140 #comment Added test for PEP_idf_not_for_sync on own identity - still not passing 2016-11-19 01:08:02 +01:00
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.
2016-11-18 00:11:30 +01:00
Edouard Tisserant b91706fbcd Tests: Added only_$TestName command line argument to multiprocess test, to select a single test to run. 2016-11-15 17:55:54 +01:00
Edouard Tisserant 9195a49292 Better english for KeySync messages status flags 2016-11-10 21:18:55 +01:00
Edouard Tisserant 5c9e7fdc7e Multiprocess test : Added option to attach debugger before a particular action in tests 2016-11-10 18:15:28 +01:00
Edouard Tisserant 7f6cb7cac5 test: re-enabled group_suvives_restart 2016-10-20 21:37:33 +02:00
Edouard Tisserant 883e4b61d2 tests : fixed instance restart. added test to check survival of group to restarts (failing) 2016-10-19 23:31:13 +02:00
Edouard Tisserant 210d4089a3 test: moved some code around to prepare for test including instances restart 2016-10-19 18:05:29 +02:00
Edouard Tisserant 6f49ae0362 test: fixed and enabled group update on missing key test 2016-10-18 21:49:28 +02:00
Edouard Tisserant 07e827e283 added test for group update on missing key, disabled until fixed 2016-10-18 01:01:54 +02:00
Edouard Tisserant b2c6adbbf7 Fixed group update test, added per-instance debug command line option 2016-10-15 17:44:39 +02:00
Edouard Tisserant 87009e4e45 MP tests : added group updated test (crashing for now, pepengine needs a fix) 2016-10-13 23:32:11 +02:00
Edouard Tisserant 9f859ce26f More multi process based tests 2016-10-12 18:58:11 +02:00
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 2016-10-12 00:04:17 +02:00
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 2016-10-11 12:43:47 +02:00
Edouard Tisserant 555c93691a various enhancements in multiprocess test - to be continued 2016-10-11 01:48:19 +02:00
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 2016-10-10 17:58:01 +02:00
Edouard Tisserant 1939e58014 mp_sync_test added time offset on msg->rcv to test expiry of sync message 2016-10-07 17:54:20 +02:00
Edouard Tisserant d60808c058 MP sync test : added an instance to test sync with more than two device 2016-09-28 14:36:38 +02:00
Edouard Tisserant 98008c22c9 PEP_MESSAGE_DISCARDED 2016-09-21 12:41:54 +02:00