diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-03-04 05:16:00 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-03-04 05:16:00 +0000 |
commit | b1ead98c905e60ed07de0592122642c018eb525b (patch) | |
tree | c0a48f758da3bf39840739dd2b1329a387bb6721 /share | |
parent | d318717866ffa267781ab482e99a05415e2ac0e4 (diff) |
ensure full commit when the security object is updated
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/test/reader_acl.js | 5 |
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"); |