sofa icon indicating copy to clipboard operation
sofa copied to clipboard

Unit Test Failures Related to db_alldocs, db_bulk_create, db_bulk_get, and Connection Issues

Open YaoxiangLi opened this issue 1 year ago • 0 comments

Uultiple unit test failures while running devtools::test() on the sofa package. The issues seem to revolve around db_alldocs, db_bulk_create, db_bulk_get, and general connection problems to 127.0.0.1:5984. Here's a summary of the problems:

  1. db_alldocs tests fail due to the db_test_name object not being found.
  2. db_bulk_create and db_bulk_get tests fail because of connection issues with CouchDB.
  3. Unexpected error messages in tests checking for database existence, expecting "Database does not exist" but getting connection errors.

It appears there might be missing setup instructions for test databases or misconfigurations in test environment settings.

YaoxiangLi avatar Feb 20 '24 20:02 YaoxiangLi