There's a test which checks behavior against a reference implementation, and so the reference implementation needs to be updated as well.
This commit is contained in:
parent
05e63bc703
commit
90dae38d04
|
@ -676,7 +676,10 @@ TEST_CASE("/fdbclient/WriteMap/random") {
|
|||
KeyRef key = RandomTestImpl::getRandomKey(arena);
|
||||
ValueRef value = RandomTestImpl::getRandomValue(arena);
|
||||
writes.mutate(key, MutationRef::SetVersionstampedValue, value, addConflict);
|
||||
setMap[key].push(RYWMutation(value, MutationRef::SetVersionstampedValue));
|
||||
if (unreadableMap[key])
|
||||
setMap[key].push(RYWMutation(value, MutationRef::SetVersionstampedValue));
|
||||
else
|
||||
setMap[key] = OperationStack(RYWMutation(value, MutationRef::SetVersionstampedValue));
|
||||
if (addConflict)
|
||||
conflictMap.insert(key, true);
|
||||
clearMap.insert(key, false);
|
||||
|
|
Loading…
Reference in New Issue