From bc9c876ebb9f7cd249220949f5adf9c3948d504a Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Tue, 1 Dec 2009 21:45:27 +0000 Subject: 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 --- share/www/script/test/changes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share') 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); -- cgit v1.2.3