Skip to content

Instantly share code, notes, and snippets.

@andywenk
Created May 15, 2014 22:30
Show Gist options
  • Select an option

  • Save andywenk/b868d91a95b0e5c66a12 to your computer and use it in GitHub Desktop.

Select an option

Save andywenk/b868d91a95b0e5c66a12 to your computer and use it in GitHub Desktop.
testresult
./test_bigcouch.py
Running tests
Creating db(201): http://localhost:15986/test_all_docs
Creating db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Created doc on db(201): http://localhost:15986/test_all_docs
Created doc on db(201): http://localhost:15984/test_all_docs
Testing all docs on: http://localhost:15986/test_all_docs/_all_docs
Testing all docs on: http://localhost:15984/test_all_docs/_all_docs
Creating view test db: test_basic_views
Creating db(201): http://localhost:15986/test_basic_views
Saving ddoc(201): http://localhost:15986/test_basic_views/_design/foo
Creating db(201): http://localhost:15984/test_basic_views
Saving ddoc(201): http://localhost:15984/test_basic_views/_design/foo
Created doc on db(201): http://localhost:15986/test_basic_views
Created doc on db(201): http://localhost:15984/test_basic_views
Testing views on: http://localhost:15986/test_basic_views/_design/foo/_view/bar
Traceback (most recent call last):
File "./test_bigcouch.py", line 201, in <module>
main()
File "./test_bigcouch.py", line 192, in main
[t() for n, t in attrs if "test_" == n[0:5]]
File "./test_bigcouch.py", line 140, in test_basic_views
http('get', url, assertion=200)
File "./test_bigcouch.py", line 24, in http
resp = meth(url, data=data, auth=auth, headers=headers)
File "/Library/Python/2.7/site-packages/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 383, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 486, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 378, in send
raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=15986): Max retries exceeded with url: /test_basic_views/_design/foo/_view/bar (Caused by <class 'httplib.BadStatusLine'>: '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment