Update use of g_random

This commit is contained in:
Andrew Noyes 2019-06-11 13:57:36 -07:00
parent 47ce784ee7
commit a34b2d23fd
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ struct DifferentClustersSameRVWorkload : TestWorkload {
}
ACTOR static Future<Void> doSwitch(Database cx, DifferentClustersSameRVWorkload* self) {
state UID lockUid = g_random->randomUniqueID();
state UID lockUid = deterministicRandom()->randomUniqueID();
wait(delay(self->switchAfter));
state Future<Void> watchFuture;
wait(runRYWTransaction(cx, [=](Reference<ReadYourWritesTransaction> tr) mutable -> Future<Void> {