summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-12-13[refactor] make blobs backend delete_blob() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend write_blob() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend read_blob() agnostic of twisted.webdrebs
2017-12-13[refactor] make blobs backend list_blobs() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend get_flags() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend count() agnostic of twisted.web requestsdrebs
2017-12-12[bug] use namespace when uploading blobsdrebs
2017-12-12[test] fix bug in blobs fs backend benchmark testdrebs
The new benchmark test for blobs fs backend was rebased from a merge request in which it was written using the new interface for blobs backend. After rebase, the test was not reverted to old interface, and was just failing bad. This commit fixes it.
2017-12-11[benchmark] add read/write benchmark for blobs fs backenddrebs
2017-12-01[feature] adds a stream downloaderVictor Shyba
First version, still missing consumer/producer model and some tweaks, but working. -- Related: #8809
2017-12-01[feature] add implementation for get_blob_sizeVictor Shyba
2017-12-01[test] init StreamingResource on test_blobs_serverVictor Shyba
-- Related: #8809
2017-12-01[feature] add a streaming resourceVictor Shyba
-- Related: #8809
2017-11-30[style] remove public get/set blob priority methodsdrebs
2017-11-30[feature] add priorities for blob transfersdrebs
Closes: #8691
2017-11-22[refactor] simplify decorated test parametersVictor Shyba
2017-11-22[test] improve isolation by avoiding _all_dbsVictor Shyba
Accessing _all_dbs slows down the test and open possibilites for heisenbugs where some old leftover database can change code behavior. -- Resolves: #9001
2017-11-22[test] avoid collision when running fs backend tests in paralleldrebs
Closes: #9000
2017-11-22[bug] remove SOLEDAD_COUCH_URL test envVictor Shyba
It was None for parallel tests and there is already a mechanism in place for setting this URL, which avoids it being set in two different places.
2017-11-22[bug] fix logging while checking CouchDB schema versions on server startupdrebs
2017-11-20[test] avoid failing when there's no couch_url in environment variabledrebs
2017-11-20[test] always use a tempdir for server fixture config filedrebs
When starting up a Soledad Server through the use of a fixture in tests, a config file is created with the options needed for that test. As the config file was being created in /etc and not being removed, this was influencing servers started by other tests that don't use that fixture. By always using a temporary directory in the server fixture, we make sure that the config file is used only for that test and is removed after the test is finished. Closes: #8995
2017-11-19[test] use environment to pass the couch_url to server TAC testdrebs
2017-11-19[feature] allow setting couchdb url from environmentdrebs
2017-11-19[test] TAC test now checks for server (with retries)drebs
After we fixed the server to wait for checks before listening on ports (201ef7a9b979f8c8efaedbe542c631944d8956f4), the TAC test started failing randomly in our CI, probably because sometimes the server takes more than 1 second to startup in the CI setup (docker in a vm). This commit adds a check with retry, and so the test will retry 10 times with an interval of 1 second before failing.
2017-11-14[bug] wait for checks before running serversdrebs
2017-11-14[refactor] rename entrypoints to match design docsdrebs
2017-11-13[style] fixes from code reviewVictor Shyba
2017-11-13[feature] support unsynced local_only blobsVictor Shyba
Adds the ability to have document that wont be synced. This enables applications to use soledad to store temporary blobs that should be discarded later instead of unnecessarily keeping the sync loop busy. -- Resolves: #8819
2017-11-13[feature] apply deletions from serverVictor Shyba
Sync method to propagate deletions in batch locally. -- Resolves: #8961
2017-11-13[feature] list deleted files from serverVictor Shyba
-- Related: #8961
2017-11-10[bug] mark deletion as pending_delete if offlineVictor Shyba
This commit creates a PENDING_DELETE sync status which can be used to keep track of whats deleted locally in order to propagate to server later. -- Related: #8961
2017-11-09[tests] remove revision when copying couch dbsdrebs
2017-11-02[benchmarks] add test controller for scalability testsdrebs
2017-10-31[bug] set errbacks before gathering resultsVictor Shyba
2017-10-31[feat] improve speed of server startupdrebs
To avoid corrupting data, Soledad Server checks all user databases during startup to make sure all of them use the correct schema version. This was done synchronously, so when there are many databases startup would take a long time. This commit makes that verification asynchronous, thus speeding up server startup.
2017-10-31[feature] add sync progress attributeVictor Shyba
--Resolves: #8848
2017-10-27[bug] there is no retry limit for usual transfersVictor Shyba
Retry limit was originally specified in #8825 as a protection mechanism, but #8822 (retry) doesn't specify a retry limit. In fact, blobs is supposed to retry until transfer is complete using timed delays between attempts, but never giving up. -- Related: #8822 -- Related: #8825
2017-10-27[refactor] add a table for sync_statusVictor Shyba
As defined in #8970, this table and the new module will ease adding sync features such as priority queues and streaming. --Resolves: #8970
2017-10-27[style] E722 do not use bare exceptVictor Shyba
2017-10-27[refactor] split blobs into modulesVictor Shyba
So we can have manager, sync, sql and errors in its own places. --Related: #8970
2017-10-23[bug] revert unintentional changes from last commitdrebs
2017-10-23[doc] add script for copying doc to leap_se repodrebs
2017-10-12[test] remove now unneeded semaphored from benchmarksdrebs
With the introduction of semaphores in the blobmanager level, there's no need for them in the benchmark tests now.
2017-10-12[feature] make concurrent blob writes configurabledrebs
2017-10-10[test] add docstring for blobs testsdrebs
2017-10-10[test] fix blobs download benchmark testdrebs
2017-10-09[test] rename blobs sqlite benchmarks filedrebs
2017-10-09[test] add blobs upload/download benchmarkdrebs
2017-10-05[bug] fix retries for blobs downloaddrebs
- 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