You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/07/22 07:30:03 UTC
[46/50] couchdb commit: updated refs/heads/developer-preview-2.0 to
2a31bca
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 <kx...@apache.org>
Authored: Tue Jul 7 18:19:28 2015 +0300
Committer: Alexander Shorin <kx...@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'