summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2020-01-06 11:47:43 -0600
committerPaul J. Davis <paul.joseph.davis@gmail.com>2020-01-06 22:25:37 -0600
commit0c33ed151df9524719bc190a7d7a26dfc3c60afa (patch)
tree77032bb89feb139cdb5815261755dbb5585c0139
parent7b098924801869d834e4df52713f004bf9ee7b3d (diff)
downloadcouchdb-0c33ed151df9524719bc190a7d7a26dfc3c60afa.tar.gz
Set `couchTests.elixir = true` to skip ported tests
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.
-rw-r--r--test/javascript/tests/auth_cache.js2
-rw-r--r--test/javascript/tests/cookie_auth.js2
-rw-r--r--test/javascript/tests/users_db.js2
-rw-r--r--test/javascript/tests/utf8.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/javascript/tests/auth_cache.js b/test/javascript/tests/auth_cache.js
index ca8f077e7..73fec3532 100644
--- a/test/javascript/tests/auth_cache.js
+++ b/test/javascript/tests/auth_cache.js
@@ -10,8 +10,8 @@
// License for the specific language governing permissions and limitations under
// the License.
+couchTests.elixir = true;
couchTests.auth_cache = function(debug) {
- return console.log('done in test/elixir/test/auth_cache_test.exs');
if (debug) debugger;
// Simple secret key generator
diff --git a/test/javascript/tests/cookie_auth.js b/test/javascript/tests/cookie_auth.js
index 0dce6bdb6..2d49ebe1c 100644
--- a/test/javascript/tests/cookie_auth.js
+++ b/test/javascript/tests/cookie_auth.js
@@ -10,9 +10,9 @@
// License for the specific language governing permissions and limitations under
// the License.
+couchTests.elixir = true;
couchTests.cookie_auth = function(debug) {
// This tests cookie-based authentication.
- return console.log('done in test/elixir/test/cookie_auth_test.exs');
var db_name = get_random_db_name();
var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
diff --git a/test/javascript/tests/users_db.js b/test/javascript/tests/users_db.js
index b13adffec..3ce80256c 100644
--- a/test/javascript/tests/users_db.js
+++ b/test/javascript/tests/users_db.js
@@ -10,8 +10,8 @@
// License for the specific language governing permissions and limitations under
// the License.
+couchTests.elixir = true;
couchTests.users_db = function(debug) {
- return console.log('done in test/elixir/test/users_db_test.exs');
// This tests the users db, especially validations
// this should also test that you can log into the couch
diff --git a/test/javascript/tests/utf8.js b/test/javascript/tests/utf8.js
index a1092c128..cee4d30cb 100644
--- a/test/javascript/tests/utf8.js
+++ b/test/javascript/tests/utf8.js
@@ -10,8 +10,8 @@
// License for the specific language governing permissions and limitations under
// the License.
+couchTests.elixir = true;
couchTests.utf8 = function(debug) {
- return console.log('done in test/elixir/test/utf8_test.exs');
var db_name = get_random_db_name();
var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
db.createDb();