You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2016/09/21 15:19:07 UTC

[16/29] fauxton commit: updated refs/heads/new-replication to b0541e1

testing cache bust


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/9a0e59f8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/9a0e59f8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/9a0e59f8

Branch: refs/heads/new-replication
Commit: 9a0e59f858a531a5534583804dbab3013ea2c46d
Parents: 2e7d2ab
Author: Ben Keen <be...@gmail.com>
Authored: Sun Aug 14 17:28:33 2016 -0700
Committer: Garren Smith <ga...@gmail.com>
Committed: Wed Sep 14 17:22:30 2016 +0200

----------------------------------------------------------------------
 test/nightwatch_tests/custom-commands/helper.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/9a0e59f8/test/nightwatch_tests/custom-commands/helper.js
----------------------------------------------------------------------
diff --git a/test/nightwatch_tests/custom-commands/helper.js b/test/nightwatch_tests/custom-commands/helper.js
index e9ce835..1a183ef 100644
--- a/test/nightwatch_tests/custom-commands/helper.js
+++ b/test/nightwatch_tests/custom-commands/helper.js
@@ -28,8 +28,10 @@ exports.checkForDatabaseCreated = function checkForDatabaseCreated (couchUrl, da
   }, timeout);
 
   const intervalId = setInterval(() => {
-    request(couchUrl + '/_all_dbs', function (er, res, body) {
+    const rand = Math.round(Math.random() * 10000000);
+    request(couchUrl + '/_all_dbs?cachebust=' + rand, function (er, res, body) {
       if (body) {
+        console.log(couchUrl + '/_all_dbs?cachebust=' + rand);
         console.log('list of databases:');
         console.log(body);
         console.log("_______________________");