Testing either of these things requires setting up the unit test different than is done currently in collection_catalog_test.cpp. Rather than a single CollectionCatalog 'catalog' created for the unit tests, we need to create and set a CollectionCatalog on the ServiceContext and fetch it from there, so that copy-on-writes can change it and the test can fetch a new instance that's updated.
Unit test CollectionCatalog copy-on-write and CollectionCatalogStasher
- Assignee:
-
Henrik Edin
- Reporter:
-
Dianna Hohensee (Inactive)
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: