Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-09 | [test] rename blobs sqlite benchmarks file | drebs | |
2017-10-09 | [test] add blobs upload/download benchmark | drebs | |
2017-10-05 | [bug] fix retries for blobs download | drebs | |
- add a MaximumRetriesError exception to encapsulate other exceptions. - record the pending status before trying to download - modify update_sync_status to insert or update - modify retry tests to check number of retries - add a test for download retry limit | |||
2017-10-05 | [bug] ensure maximum concurrency on blobs transfer | drebs | |
The way in that concurrency limit was being enforced was such that transfer attempts were being spawned in groups of 3, and all of them had to finish before a new group could be spawned. This modification allows for use of maximum concurrency level at all times. | |||
2017-10-05 | [bug] set as PROCESSING during processing flow | Victor Shyba | |
It was previously setting to PROCESSED. Also added some tests to check if the underlying wrapped calls matches the intent. -- Resolves: #8955 | |||
2017-10-05 | [feature] notify, retry and fail from invalid tag | Victor Shyba | |
Notify, log something meaninful and retry at most 3 times before marking the download as unusable (FAILED_DOWNLOAD). -- Related: #8825 | |||
2017-10-05 | [feature] retry during upload + proper wait | Victor Shyba | |
Added retry to upload and modified retry implementation to comply with discussed spec. According to it, we should wait between retries, something like 1s, 10s, .. up to 1 minute. -- Resolves: #8822 | |||
2017-10-05 | [feature] retry during download | Victor Shyba | |
-- Related: #8822 | |||
2017-10-05 | [feature] send/fetch missing using local statuses | Victor Shyba | |
Instead of querying the server, fetch_missing and send_missing now uses the PENDING_DOWNLOAD and PENDING_UPLOAD statuses to guide itself on what to do. This allows the sync mechanism to control when/how to query data from server and reuse the query data during the sync. -- Related: #8822 | |||
2017-10-05 | [feature] blob get/put handle unavailable statuses | Victor Shyba | |
PENDING_DOWNLOAD is an empty blob, so during blob_manager.get we need to return empty as it's not available. This status is used during sync. During put, if we have an empty unavailable blob, then we delete and replace with is being put, marking it as SYNCED. -- Related: #8822 | |||
2017-10-05 | [feature] improve preamble comparisons | Victor Shyba | |
We were comparing the raw content of preambles. This commit adds a way to compare excluding time so comparisons don't suffer from false negatives caused by time deltas. -- Resolves: #8920 | |||
2017-10-05 | [feature] persist pending_download remote listing | Victor Shyba | |
-- Related: #8822 | |||
2017-10-05 | [feature] filter out unavailable blobs on listing | Victor Shyba | |
-- Related: #8822 | |||
2017-10-05 | [feature] concurrent blob download/upload | Victor Shyba | |
-- Related: #8932 | |||
2017-10-03 | [test] add missing docstrings to some benchmark tests | drebs | |
2017-09-30 | [test] fix e2e test call to remote_list | drebs | |
2017-09-29 | [bug] check all http response status codes | drebs | |
2017-09-29 | [bug] raise when trying to get flags of unexisting blob | drebs | |
2017-09-20 | [test] use swaks on e2e test | drebs | |
2017-09-20 | [test] remove dependency on numpy | drebs | |
2017-09-20 | [test] make conftest.py compatible with python3 | drebs | |
2017-09-20 | [test] add e2e test for incoming mail pipeline | drebs | |
I had to include part of the bonafide source code because it was the easiest way to interact with the webapp. Closes: #8941 | |||
2017-09-20 | [test] allow for custom user information on soledad_client fixture | drebs | |
2017-09-17 | [responsiveness] post seconds blocked to elasticsearch | drebs | |
2017-09-17 | [refactor] move tests to root of repository | drebs | |
Tests entrypoint was in a testing/ subfolder in the root of the repository. This was made mainly because we had some common files for tests and we didn't want to ship them (files in testing/test_soledad, which is itself a python package. This sometimes causes errors when loading tests (it seems setuptools is confused with having one python package in a subdirectory of another). This commit moves the tests entrypoint to the root of the repository. Closes: #8952 | |||
2013-03-07 | Move source files to subfolder. | drebs | |
2013-02-19 | Add ability to load configuration from ini file. | drebs | |
2013-02-19 | Fix soledad temp dir in tests. | drebs | |
2013-02-19 | Add support for verifying encryption status of data with gpg. | drebs | |
2013-02-13 | Refactor and fix tests. | drebs | |
2013-02-12 | Add tests for u1db data storage in couch backend. | drebs | |
2013-02-12 | PEP8. | drebs | |
2013-02-12 | Adapt code and tests to use pysqlcipher. | drebs | |
2013-02-10 | Make couch wrapper terminate subprocess properly. | drebs | |
2013-02-09 | Merge branch 'develop' into feature/soledad-api | drebs | |
2013-02-09 | Remove LeapDatabase because we don't need it (LeapSyncTarget does the job). | drebs | |
2013-02-09 | SQLCipher backend can sync with remote Leap HTTP target. | drebs | |
2013-02-09 | Couch server subprocess for tests now waits for returncode to avoid zombie ↵ | drebs | |
childs. | |||
2013-02-09 | Soledad may be created without gpg/secret initialization. | drebs | |
2013-02-06 | Merge branch 'feature/soledad-api' of ssh://code.leap.se/leap_client into ↵ | drebs | |
feature/soledad-api | |||
2013-02-06 | Add DatabaseSyncTargetTests to SQLCipher tests. | drebs | |
2013-02-06 | Add test scenario for SQLCipher backend using LeapSyncTarget. | drebs | |
2013-02-06 | SQLCipher syncs using LeapSyncTarget. | drebs | |
2013-02-04 | Close file handles. | drebs | |
2013-01-31 | Add support to test_scenarios to test_sqlcipher. | drebs | |
2013-01-31 | Add ability to close Soledad instance. | drebs | |
2013-01-30 | pep8. | antialias | |
2013-01-28 | CouchDB tests now run with their own couch instance on a random dir. | drebs | |
2013-01-27 | Refactor tests and fix test_https. | drebs | |
2013-01-27 | Exclude testing of logs because logs are now handled by ↵ | drebs | |
ObjectStore(InMemoryDatabase). |