couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [46/50] couchdb commit: updated refs/heads/developer-preview-2.0 to 2a31bca
Date Wed, 22 Jul 2015 05:30:03 GMT
CouchDB 2.0 may return HTTP 202 on database creation request


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

Branch: refs/heads/developer-preview-2.0
Commit: 51b98a4a0ce0ed4a362cd7d596589733c58c2a0e
Parents: 1961cab
Author: Alexander Shorin <kxepal@apache.org>
Authored: Tue Jul 7 18:19:28 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Tue Jul 7 18:19:28 2015 +0300

----------------------------------------------------------------------
 dev/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/51b98a4a/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index b27352c..67334fe 100755
--- a/dev/run
+++ b/dev/run
@@ -438,7 +438,7 @@ def create_system_databases(host, port):
             conn = httpclient.HTTPConnection(host, port)
             conn.request('PUT', '/' + dbname)
             resp = conn.getresponse()
-            assert resp.status == 201, resp.read()
+            assert resp.status in (201, 202), resp.read()
 
 
 @log('Developers cluster is set up at http://127.0.0.1:{lead_port}.\n'


Mime
View raw message