summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Increase timeout for process_response in ChangesAsyncTest (#3450)Bessenyei Balázs Donát2021-03-221-1/+1
|
* Add more concurrent write testsNick Vatamaniuc2021-03-181-0/+76
| | | | | | | | | | | | | | * `Secondary data tests with updates and queries`: Like the `Secondary data tests with updates` but adds intermittent queries while updates are taking place. * `Secondary data tests with deletes and queries`: Deletes and queries intermettently. This one was specifically crafted to trigger the `ebtree:lookup_multi/3` error and hopefully other similar ones. The retry_until section at the end was added to differentiate between the case were we return a partial view and when the view is actually broken and it will never "catch up". Once we start returning only completed views, we remove that section.
* Add Secondary data tests with updates testconcurrent-write-test-with-updatesRobert Newson2021-03-182-1/+26
|
* Fix _changes?filter=_design (#3430)Bessenyei Balázs Donát2021-03-161-1/+0
|
* Remove _membership call from set_config_raw in integration testsNick Vatamaniuc2021-03-131-9/+3
| | | | Since we run `elixir` tests with `-n 1` we can just use `_local`
* Fix and re-enable ChangesAsyncTestBessenyei Balázs Donát2021-03-113-50/+37
|
* Verify correctness with concurrent updatesRobert Newson2021-03-103-0/+68
|
* Re-add transaction size exceeded test (#3395)Bessenyei Balázs Donát2021-03-032-1/+19
|
* Make session elixir test more robustBessenyei Balázs Donát2021-03-011-1/+1
|
* Handle all erlfdb error codes (#3355)Robert Newson2021-02-081-18/+0
|
* Switch from assert length === 0 to Enum.empty? as Credo suggestsAlessio Biancalana2021-01-031-1/+1
|
* Add ability to control which Elixir integration tests to runILYA Khlopotov2020-12-024-16/+1119
| | | | | | | | | | | | | | | | New `elixir-suite` Makefile target is added. It runs a predefined set of elixir integration tests. The feature is controlled by two files: - test/elixir/test/config/suite.elixir - contains list of all available tests - test/elixir/test/config/skip.elixir - contains list of tests to skip In order to update the `test/elixir/test/config/suite.elixir` when new tests are added. The one would need to run the following command: ``` MIX_ENV=integration mix suite > test/elixir/test/config/suite.elixir ```
* Add missing default headers to responses (#3279)Bessenyei Balázs Donát2020-11-231-0/+10
| | | | Add missing default headers to responses
* convert erlfdb_error 2101 to transaction_too_large (#3222)Peng Hui Jiang2020-10-211-0/+18
|
* Fix apache/couchdb#1988 - Validate attachment namesJuanjo Rodriguez2020-10-202-18/+15
|
* Fix boolean POST to view-like endpointsBessenyei Balázs Donát2020-10-201-0/+18
|
* Fix boolean POST to view-like endpointsBessenyei Balázs Donát2020-10-132-0/+30
|
* Remove JS tests + support for harness (#3197)Joan Touzet2020-10-07118-15987/+0
|
* port users_db_security tests to elixirJuanjo Rodriguez2020-10-074-7/+540
|
* Complete the port of security_validation tests to ElixirJuanjo Rodriguez2020-10-072-132/+118
|
* Port show_documents and list_views to ElixirJuanjo Rodriguez2020-10-075-4/+1033
|
* Add module tag to elixir test cases (#3178)Peng Hui Jiang2020-10-0710-0/+10
| | | | | Some elixir test cases don't have actual module tag. Add tags to help include or exclude them in CI test.
* port rewrite and rewrite_js tests into elixirJuanjo Rodriguez2020-10-077-116/+691
|
* Preserve query string rewrite when the request contains a bodyJuanjo Rodriguez2020-10-071-0/+16
|
* Add elixir tests for builtin reduce group levelsGarren Smith2020-09-301-0/+549
|
* Merge branch master into prototype/fdb-layerPaul J. Davis2020-09-16106-241/+5073
|\
| * Port view_conflicts.js, view_errors.js and view_include_docs.js into elixir·Juanjo Rodriguez2020-09-117-3/+643
| |
| * Tag elixir tests into meaningful groupsAlessio Biancalana2020-09-0177-0/+120
| |
| * bypass partition query limit for mangoTony Sun2020-08-271-0/+53
| | | | | | | | | | | | | | | | When partition_query_limit is set for couch_mrview, it limits how many docs can be scanned when executing partitioned queries. But this limits mango's doc scans internally. This leads to documents not being scanned to fulfill a query. This fixes: https://github.com/apache/couchdb/issues/2795
| * Port view multi_key tests into elixirJuanjo Rodriguez2020-07-236-3/+513
| |
| * port update_documents.js into elixirJuanjo Rodriguez2020-07-223-2/+326
| |
| * port view_sandboxing.js into elixirJuanjo Rodriguez2020-07-223-1/+193
| |
| * Port view_compaction test to elixirJuanjo Rodriguez2020-07-074-2/+109
| |
| * Port view_collation_raw.js to elixirJuanjo Rodriguez2020-07-073-1/+161
| |
| * Port view_update_seq.js into elixirJuanjo Rodriguez2020-06-303-1/+144
| |
| * Port reader_acl test into elixir test suiteJuanjo Rodriguez2020-06-293-2/+257
| |
| * Skip tests as temporary views are not supportedJuanjo Rodriguez2020-06-271-0/+1
| |
| * Tests already ported to elixirJuanjo Rodriguez2020-06-272-0/+2
| |
| * move compact and replicate functions into CouchTestCase shared moduleJuanjo Rodriguez2020-05-268-155/+56
| |
| * Port rev_stemming into elixirJuanjo Rodriguez2020-05-263-1/+195
| |
| * allow configurability of JWT claims that require a valueRobert Newson2020-05-181-0/+77
| | | | | | | | | | | | | | e.g; [jwt] required_claims = {iss, "https://example.com/issuer"}
| * Quit test run without checking that couchdb is runningarchive/protoypeprotoypeJuanjo Rodriguez2020-05-021-8/+15
| |
| * Port replicator db tests to elixirJuanjo Rodriguez2020-05-025-2/+206
| |
| * Port recreate docs testJuanjo Rodriguez2020-04-123-1/+167
| |
| * Port view_offset.js to elixir test suiteAlessio Biancalana2020-04-024-2/+128
| |
| * Improve test initializationJuanjo Rodriguez2020-04-011-7/+8
| |
| * Verify all presented claimsjwt-controls-2Robert Newson2020-03-301-1/+17
| | | | | | | | | | | | All claims in the header and payload are verified if present. The required_claims config setting is now separate and only causes CouchDB to reject JWT tokens without those claims.
| * Only trust the servers declaration of JWT key typeRobert Newson2020-03-281-3/+3
| |
| * Port view_pagination integration test to elixir test suiteAlessio Biancalana2020-03-253-1/+192
| |
| * Port purge.js into elixir test suiteJuanjo Rodriguez2020-03-253-2/+170
| |