summaryrefslogtreecommitdiff
path: root/test/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Remove JS tests + support for harness (#3197)Joan Touzet2020-10-07118-15987/+0
|
* port users_db_security tests to elixirJuanjo Rodriguez2020-10-071-1/+1
|
* Complete the port of security_validation tests to ElixirJuanjo Rodriguez2020-10-071-1/+1
|
* Port show_documents and list_views to ElixirJuanjo Rodriguez2020-10-072-2/+2
|
* port rewrite and rewrite_js tests into elixirJuanjo Rodriguez2020-10-072-3/+2
|
* Preserve query string rewrite when the request contains a bodyJuanjo Rodriguez2020-10-071-0/+16
|
* Port view_conflicts.js, view_errors.js and view_include_docs.js into elixir·Juanjo Rodriguez2020-09-113-0/+3
|
* Port view multi_key tests into elixirJuanjo Rodriguez2020-07-233-0/+3
|
* port update_documents.js into elixirJuanjo Rodriguez2020-07-221-1/+1
|
* port view_sandboxing.js into elixirJuanjo Rodriguez2020-07-221-0/+1
|
* Port view_compaction test to elixirJuanjo Rodriguez2020-07-071-0/+1
|
* Port view_collation_raw.js to elixirJuanjo Rodriguez2020-07-071-0/+1
|
* Port view_update_seq.js into elixirJuanjo Rodriguez2020-06-301-0/+1
|
* Port reader_acl test into elixir test suiteJuanjo Rodriguez2020-06-291-0/+1
|
* Skip tests as temporary views are not supportedJuanjo Rodriguez2020-06-271-0/+1
|
* Tests already ported to elixirJuanjo Rodriguez2020-06-272-0/+2
|
* Port rev_stemming into elixirJuanjo Rodriguez2020-05-261-0/+1
|
* Quit test run without checking that couchdb is runningarchive/protoypeprotoypeJuanjo Rodriguez2020-05-021-8/+15
|
* Port replicator db tests to elixirJuanjo Rodriguez2020-05-022-0/+2
|
* Port recreate docs testJuanjo Rodriguez2020-04-121-0/+1
|
* Port view_offset.js to elixir test suiteAlessio Biancalana2020-04-021-0/+2
|
* Port view_pagination integration test to elixir test suiteAlessio Biancalana2020-03-251-0/+2
|
* Port purge.js into elixir test suiteJuanjo Rodriguez2020-03-251-1/+1
|
* Fix ported to elixir tagJuanjo Rodriguez2020-03-225-4/+5
|
* Port http, method_override and jsonp tests into elixir test suite (#2646)Juanjo Rodriguez2020-03-214-3/+10
|
* Port design_docs tests from js to elixir (#2641)Juanjo Rodriguez2020-03-191-0/+2
|
* Port elixir proxyauth tests from js to elixir (#2660)Juanjo Rodriguez2020-03-161-26/+25
| | | | * Add support for specify a custom config file for CouchDB startup during testing * Port proxyauth test from js to elixir
* Port _design_docs tests, design_options and design_paths from js to elixir ↵Juanjo Rodriguez2020-03-023-1/+5
| | | | | | | | | (#2596) * Port _design_docs tests from js to elixir * Port design_options and design_paths tests from js to elixir
* Mark form_submit JS test as ported in README and inside the test itselfAlessio Biancalana2020-02-271-0/+2
|
* Port changes.js test suite into elixirJuanjo Rodriguez2020-02-201-3/+4
|
* Fix test failure in view_errors.jsPaul J. Davis2020-02-071-2/+7
|
* Simplify couch_auth_cacheNick Vatamaniuc2020-02-062-11/+4
| | | | | | | | | | Since the backend port is closed by default, remove the cache service since it was shown to cause monitor leaks, and it just consumes resources running in the background when almost nobody uses it. The few utility scripts that might use the backend port can just get the auth docs directly from the db. Issue: https://github.com/apache/couchdb/issues/2493
* log thingRobert Newson2020-02-051-0/+1
|
* Port etags tests to elixirJuanjo Rodriguez2020-01-171-0/+2
| | | | Fixes #2464
* Remove debug logging from test/javascript/runPaul J. Davis2020-01-101-1/+0
|
* Add a JUnit report to JavaScript testsPaul J. Davis2020-01-091-4/+72
|
* Debug design_docs.js failurePaul J. Davis2020-01-081-2/+4
| | | | | This test has been failing randomly on Jenkins across multiple PRs. This adds more context to the error that causes the test to fail.
* Log the exit code of couchjsPaul J. Davis2020-01-081-1/+1
| | | | | | Recently we've been seeing the `couchjs` test runner exiting without displaying a traceback of an error. This logs the exit code of the OS process to see if that gives any insight into why its exiting.
* Remove allowance for unnamed_errorPaul J. Davis2020-01-061-1/+1
| | | | | This test is actually checking the behvior of an OOM in `couchjs` now since we lifted the OS process timeout limit.
* Set `couchTests.elixir = true` to skip ported testsPaul J. Davis2020-01-064-4/+4
| | | | | | This avoids the 1.2s pause between tests to save time during the test suite. All ported tests are also logged to measure our progress porting the JS test suite.
* Feature/user db security obj readonly (#2395)Jan Lehnardt2020-01-041-4/+16
| | | | | | | | | | | | * Allow to set the user db security object to readonly - Add the default config - Deny update on _security if the database is the user db and if the config is to false - Add unit test * Allow edits on _users security for the JS test Co-authored-by: Alexis Côté <popojargo@users.noreply.github.com>
* Multi/elixir 3 (#2394)Jan Lehnardt2020-01-0454-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add auth cache test into elixir test suite * Port cookie_auth test suite into elixir * Remove conflicting functions * remove debug log level config * Port users_db from js test suite to elixir * WIP: make test more robust * WIP: increase default timeout, revert to fail when login error * Auth cache test fixes * Cookie auth test fixes * Cookie auth test fixes * Correct test name * Correct test name * Disable all JS tests that have Elixir test counterparts. * Convert test setup/teardown logic into idiomatic ExUnit and use @moduletag config * Disable auth_cache_test * auth cache test is disabled * Update elixir test suite README.md with missing ported stuff * Port UTF8 js test suite to elixir * fix: losen assertion * disable more JS tests Co-authored-by: Juanjo Rodriguez <jjrodrig@gmail.com> Co-authored-by: Alessio Biancalana <dottorblaster@gmail.com>
* Autoupdate false test (#2311)Robert Newson2020-01-042-2/+33
| | | | | | | * restore tests removed in 0a85b75ee150 * disable autoupdate when testing for stale indexes
* Disable JavaScript tests ported to ElixirPaul J. Davis2019-12-2524-69/+97
|
* Speedup JavaScript testsPaul J. Davis2019-12-2528-93/+92
| | | | | | We sleep for a bit more than a second for each test. Rather than using return to skip a test we just mark the test as skipped so we don't have to waste time. This saves about 25s on the test suite.
* Add Javascript to support Spidermonkey 60sm60-davispjiangph2019-12-203-3/+3
| | | | Co-Authored-By: Paul J. Davis <paul.joseph.davis@gmail.com>
* Disable ken auto-building of this design docPaul J. Davis2019-12-171-0/+1
| | | | | We're making assertions that the view isn't being built in the background and Ken violates those assertions.
* fix (unrelated, right, am I crazy?) proxyauth.js testRobert Newson2019-12-021-1/+1
|
* export get_servers_from_env/1 for kenken-query-serversRobert Newson2019-10-172-32/+2
| | | | | Also remove the tests to detect that background index building didn't happen, cause it does now.
* Remove delayed commits optionNick Vatamaniuc2019-09-261-50/+0
| | | | | | | | | | | | | | This effectively removes a lot couch_db:ensure_full_commit/1,2 calls. Low level fsync configuration options are also removed as it might be tempting to start using those instead of delayed commits, however unlike delayed commits, changing those default could lead to data corruption. `/_ensure_full_commit` HTTP API was left as is since replicator from older versions of CouchDB would call that, it just returns the start time as if ensure_commit function was called. Issue: https://github.com/apache/couchdb/issues/2165