Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
None
-
None
-
None
-
3
-
SDK06
Description
The build pipeline is blocked due to issues with the test suite. My hunch is that it has to do with creating a connection/cluster per test group (collections, subdoc, query, etc.). This ticket is to restructure the tests to the following:
- Have a global connection/cluster
- The structure should ideally pave groundwork for running tests in parallel (pytest-xdist)
- Better outline tests that need to be run for a particular function (collections, subdoc, query, etc.)
- Create test manifest so it is easy to see which tests are meant to be executed
- Can also create skip-list which should provide clear reason for a test being skip (for instance w/ when implementing future protocols certain functionality might not be available until a later time)
- Possibly create tool that can convert the main couchbase API tests to acouchbase and txcouchbase API tests.
- Nice to have, not necessarily needed for completion of ticket, can create other tickets for acouchbase and txcouchbase. This would be ideal to make sure we have consistent testing across all APIs.
Attachments
For Gerrit Dashboard: PYCBC-1438 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
186267,6 | PYCBC-1438: Update Python 4.x Test Framework | master | couchbase-python-client | Status: MERGED | +2 | +1 |