Unit testing bucket

To run our unit test we are creating a bucket in a existing Couchbase cluster running in docker container.
We then create indexes and insert test data and run the tests, once this is done the bucket is deleted.
This is all done using the Python 2.5 10 SDK.

The issue is that every time we run the unit tests the index creation gets slower and slower.
The only way to get the unit tests to run fast again is to reset up the cluster.