Add the multi version API to the list of APIs to choose in the APICorrectness tester. Support for the multi-version client already existed.

This commit is contained in:
A.J. Beamon 2017-08-31 16:23:55 -07:00
parent 6dd37ca2b2
commit cc24072a5d
1 changed files with 2 additions and 1 deletions

View File

@ -132,11 +132,12 @@ public:
}
ACTOR Future<Void> performSetup(Database cx, ApiCorrectnessWorkload *self) {
//Choose a random transaction type (NativeAPI, ReadYourWrites, ThreadSafe)
//Choose a random transaction type (NativeAPI, ReadYourWrites, ThreadSafe, MultiVersion)
std::vector<TransactionType> types;
types.push_back(NATIVE);
types.push_back(READ_YOUR_WRITES);
types.push_back(THREAD_SAFE);
types.push_back(MULTI_VERSION);
Void _ = wait(self->chooseTransactionFactory(cx, types));