diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-12-01 21:45:27 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-12-01 21:45:27 +0000 |
commit | bc9c876ebb9f7cd249220949f5adf9c3948d504a (patch) | |
tree | 96d52c2dce38f29c2f6b853806737f54caf5dd72 | |
parent | a6d71c3b4e8f4a5a59e66999bd504753f5810bb6 (diff) |
change some timings to make the changes test more robust
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885954 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | share/www/script/test/changes.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js index fb9d724e..96ddf1a4 100644 --- a/share/www/script/test/changes.js +++ b/share/www/script/test/changes.js @@ -222,9 +222,10 @@ couchTests.changes = function(debug) { // filter with continuous xhr = CouchDB.newXhr(); - xhr.open("GET", "/test_suite_db/_changes?feed=continuous&filter=changes_filter/bop&timeout=100", true); + xhr.open("GET", "/test_suite_db/_changes?feed=continuous&filter=changes_filter/bop&timeout=200", true); xhr.send(""); db.save({"_id":"rusty", "bop" : "plankton"}); + T(db.ensureFullCommit().ok); sleep(200); var lines = xhr.responseText.split("\n"); T(JSON.parse(lines[1]).id == id); |