diff options
author | Jan Lehnardt <jan@apache.org> | 2018-07-16 12:58:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 12:58:36 +0200 |
commit | 6deea1b2517334bc65c3f53ccf5ea61ce4477d73 (patch) | |
tree | e38dd1adcf579f10b4eaf84658bb744bc2d42cb7 | |
parent | 3093798fcfad451189d03f2ef01188b075ae0de3 (diff) | |
parent | 8c2b86a65928724d137477555033e5671f0d2096 (diff) | |
download | couchdb-6deea1b2517334bc65c3f53ccf5ea61ce4477d73.tar.gz |
Merge branch 'master' into test/erlang-request-retry-after-wait
-rw-r--r-- | test/javascript/tests/design_docs.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/javascript/tests/design_docs.js b/test/javascript/tests/design_docs.js index 6e12001d7..ed1e72f3f 100644 --- a/test/javascript/tests/design_docs.js +++ b/test/javascript/tests/design_docs.js @@ -373,7 +373,13 @@ couchTests.design_docs = function(debug) { } T(db.deleteDoc(designDoc).ok); - T(db.open(designDoc._id) == null); + waitForSuccess(function() { + var ddoc = db.open(designDoc._id) + if (ddoc != null) { + throw({}); + } + return true; + }, 'db.open(designDoc._id)'); T(db.view("test/no_docs") == null); T(db.ensureFullCommit().ok); |