Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-11 | [test] add --subdir option and blacklist | drebs | |
Use subdir path to select/deselect benchmark tests. Because of the way pytest and pytest benchamrk select/deselect tests, it makes more sense for this test suite to use a --subdir option to select only a subset of tests and a blacklist of subdirectories that should not be run unless explicitelly asked to. This commit adds a --subdir option, that will deselect all tests no in ./tests/<subdir> when the option is passed to pytest. Also, a blacklist is added so, unless explicitelly added as a --subdir, tests in blacklisted subdirectories will not be run. The reasons for this modification are: - pytest-benchmarks selects/deselects tests based on the type of their fixtures. This means that fixtures have to be instantiated previous to test selection/deselection, something that may cause side effects that we want to avoid. - the usual test suite is run for all benchmarks, while some tests should only be run in specific situations (as is the case of benchmarks and responsiveness tests). It is saner to implement subdir selection than marking all tests with pytest marks and using them to select/deselect. | |||
2017-09-11 | [benchmarks] post responsiveness tests to elasticsearch | drebs | |
2017-09-11 | [benchmarks] add responsiveness test with watchdog | drebs | |
2017-09-11 | [style] fixes from code review | Victor Shyba | |
2017-09-11 | [tests] improve isolation on user uuid | Victor Shyba | |
Hardcoded and repeated user uuids can lead to accidental concurrent operations between test cases, breaking isolation and creating random failures. This commit improves it a bit. | |||
2017-09-11 | [feature] save sync status on client side | Victor Shyba | |
Adds two new columns for sync status and retries. Also some initial rough logic for upload retry limiting. -- Resolves: #8823 -- Related: #8822 | |||
2017-09-08 | [test] improve legacy vs blobs image | drebs | |
2017-09-08 | [bug] allow POST to blobs resource8938 | drebs | |
2017-09-08 | [test] allow test_vs_legacy test to run with remote server | drebs | |
2017-09-07 | fixup! [doc] add documentation about migration | drebs | |
2017-09-07 | fixup! [pkg] improve naming of directory of migration script | drebs | |
2017-09-07 | [pkg] allow newer versions of soledad for migrate script | drebs | |
2017-09-07 | [pkg] improve naming of directory of migration script | drebs | |
2017-09-07 | [doc] add documentation about migration | drebs | |
2017-09-07 | [pkg] update debian standards version | drebs | |
2017-09-07 | [pkg] ensure that script's execution is aborted on errors | drebs | |
Avoid the "maintainer-script-ignores-errors postinst" error. | |||
2017-09-07 | [pkg] make soledad-server debian package depend on adduser | drebs | |
Soledad Server Debian package calls adduser in postinst, so it also has to depend on it for installation. | |||
2017-09-07 | [pkg] remove .gitnore to avoid it ending up in the debian package | drebs | |
As we now copy the migration script into the debian package, the .gitignore file would also be copied. The simplest is to just remove it from the repo. | |||
2017-09-07 | [pkg] fix and improve migration script README file | drebs | |
2017-09-07 | [pkg] fix error logging in migration script | drebs | |
2017-09-07 | [pkg] adapt migration script to new get_config() | drebs | |
2017-09-07 | [pkg] add migration script to soledad-server debian package | drebs | |
2017-09-05 | [pkg] remove deprecated init script | drebs | |
2017-09-05 | [doc] update server startup doc | drebs | |
2017-09-05 | [doc] document environment variables | drebs | |
2017-09-05 | [feat] toggle http persistence depending on environment variable | drebs | |
2017-09-05 | [test] add script and data to plot legacy-vs-blobs | drebs | |
2017-09-05 | [feat] use a persistent connetion pool in http agent | drebs | |
2017-09-05 | [feat] use cookies in the client syncer | drebs | |
2017-09-05 | [feat] cache session data in server | drebs | |
2017-09-05 | [test] refactor and fixes for blobs vs legacy test | drebs | |
- create payloads before running tests - use different group names for different amount/sizes - move legacy index creation to setup function - limit concurrency on blobmanager to 2 (same as thread pool size) - add a VACUUM call to observe blobs db size decreasing between tests - properly cleanup server between blobs test runs - refactor blobs pipeline so it makes more sense and is easier to read | |||
2017-09-05 | [bug] ensure the number of threads in blobs thread pool | drebs | |
The number of threads in the blobs databae thread pool can't be smaller than the number of attemps to write concurrently to the database, otherwise different kinds of concurrency problems may arise. By setting the minimum and maximum number of threads to the same number, we make sure there will always be that number of available threads for interaction with the blobs db. | |||
2017-09-05 | [test] use indexes in clean client's dbs | drebs | |
2017-09-05 | [bug] use a different name for each user's blobs db | drebs | |
2017-09-05 | [doc] fix names in new auth doc | drebs | |
2017-09-05 | [refactor] follow new resource class style naming | drebs | |
2017-09-05 | [bug] add schema to incoming couchdb backend | Victor Shyba | |
Schema was using a default value instead of using the one passed as a parameter. Additional test for formatter is also included. -- Related: #8867 | |||
2017-09-05 | [bug] avoid cross uuid checks on incoming | Victor Shyba | |
Incoming API is supposed to be able to, given a valid service token, write a incoming document into any user database. Leaving the parameter as 'uuid' triggers defensive code against unauthorized accesses between users. This commit renames the parameter so this isn't checked. -- Related: #8867 | |||
2017-09-05 | [tests] add tests for cross user access code | Victor Shyba | |
2017-09-05 | [style] improve naming and fixes from code review | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [bug] check for conflicting ports + systemd fixes | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [pkg] update soledad-server.service to use tac | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [bug] remove incoming child from SoledadResource | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [pkg] move server.tac to server src folder | Victor Shyba | |
This way the file gets copied during package install. -- Related: #8867 | |||
2017-09-05 | [tests] add integration test to server.tac | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [refactor] add localhost endpoint to server tac | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [feature] add a tac file for server | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [feature] add a local realm with file auth checker | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [feature] new config option for tokens auth file | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [docs] add auth documentation from drebs draft | Victor Shyba | |
-- Related: #8867 |