summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/reader_acl.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/www/script/test/reader_acl.js b/share/www/script/test/reader_acl.js
index a42e9bea..d173d701 100644
--- a/share/www/script/test/reader_acl.js
+++ b/share/www/script/test/reader_acl.js
@@ -41,6 +41,11 @@ couchTests.reader_acl = function(debug) {
names : ["joe","barb"]
}
}).ok);
+
+ usersDb.ensureFullCommit();
+ // security changes will always commit synchronously
+ restartServer();
+
// can't read it as jchris
T(CouchDB.login("jchris@apache.org", "funnybone").ok);
T(CouchDB.session().userCtx.name == "jchris@apache.org");