Update use of g_random
This commit is contained in:
parent
47ce784ee7
commit
a34b2d23fd
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue