summaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2018-06-02Mark tests that need couchdrebs
2017-12-26[feature] add ranges to blobs backenddrebs
2017-12-22[test] test upstream from namespaceVictor Shyba
2017-12-13[refactor] use producer/consumer on write/read_blob respectivellydrebs
2017-12-13[test] fix incoming test with the new async blobs backenddrebs
2017-12-13[refactor] make blobs backend write_blob() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend get_flags() agnostic of twisted.web requestsdrebs
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[test] init StreamingResource on test_blobs_serverVictor Shyba
-- Related: #8809
2017-12-01[feature] add a streaming resourceVictor Shyba
-- Related: #8809
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-20[test] avoid failing when there's no couch_url in environment variabledrebs
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-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-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-12[feature] make concurrent blob writes configurabledrebs
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
2017-10-05[feature] notify, retry and fail from invalid tagVictor 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 waitVictor 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 downloadVictor Shyba
-- Related: #8822
2017-10-05[feature] send/fetch missing using local statusesVictor 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] improve preamble comparisonsVictor 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-09-29[bug] check all http response status codesdrebs
2017-09-29[bug] raise when trying to get flags of unexisting blobdrebs
2017-09-17[refactor] move tests to root of repositorydrebs
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