Create (fake-able) DataStoreFactory

Authored by dvratil on Jul 14 2018, 10:10 PM.

Description

Create (fake-able) DataStoreFactory

Instead of "racing" whether a new thread in unit-tests calls
FakeDataStore::self() or DataStore::self() first, we create a
factory class that can be replaced by a fake factory during test
initialization, avoiding any race conditions.

Details

Committed
dvratilJul 14 2018, 10:10 PM
Parents
R165:a0cc0cefaf05: Minor cleanup in Connection
Branches
Unknown
Tags
Unknown