Fix minor bug in External Workload

This commit is contained in:
dyoungworth 2019-07-02 11:28:27 -07:00 committed by Alex Miller
parent a84f481004
commit 817fce080b
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ struct ExternalWorkload : TestWorkload, FDBWorkloadContext {
Promise<bool> promise;
auto f = promise.getFuture();
keepAlive(f, database);
workloadImpl->start(reinterpret_cast<FDBDatabase*>(database.getPtr()),
workloadImpl->check(reinterpret_cast<FDBDatabase*>(database.getPtr()),
GenericPromise<bool>(new FDBPromiseImpl(promise)));
return f;
}