cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

Refactored remaining tests without unique DB names #335

Closed ricellis closed 6 years ago

ricellis commented 6 years ago

Checklist

Description

Fixed remaining tests that didn't use a unique db name.

1. Steps to reproduce and the simplest code sample possible to demonstrate the issue

Run tests in parallel.

2. What you expected to happen

Tests to pass.

3. What actually happened

Test failures e.g.

QA / Node8x / test.Cloudant Search."before all" hook
Error Message
The database could not be created, the file already exists.

Approach

334 re-enabled parallel testing, but no failures happened on the branch before it merged. Once it was merged the master build failed.

Some tests used non-unique DB names, replace these remaining test instances with unique db names.

Schema & API Changes

Security and Privacy

Testing

Monitoring and Logging