Fix formatting issues.

This commit is contained in:
A.J. Beamon 2022-04-14 12:03:39 -07:00
parent 19d78cf2a3
commit cf5d3c83a1
2 changed files with 4 additions and 6 deletions

View File

@ -758,8 +758,8 @@ ACTOR Future<Void> clearData(Database cx) {
// If the result is non-empty, it is possible that there is some bad interaction between the test
// and the optional simulated default tenant:
//
// 1. If the test is creating/deleting tenants itself, then it should disable the default tenant.
// 2. If the test is opening Database objects itself, then it needs to propagate the default tenant
// 1. If the test is creating/deleting tenants itself, then it should disable the default tenant.
// 2. If the test is opening Database objects itself, then it needs to propagate the default tenant
// value from the existing Database.
// 3. If the test is using raw access or system key access and writing to the normal key-space, then
// it should disable the default tenant.

View File

@ -114,7 +114,7 @@ struct WriteDuringReadWorkload : TestWorkload {
std::string description() const override { return "WriteDuringRead"; }
ACTOR Future<Void> setupImpl(WriteDuringReadWorkload *self, Database cx) {
ACTOR Future<Void> setupImpl(WriteDuringReadWorkload* self, Database cx) {
// If we are operating in the default tenant but enable raw access, we should only write keys
// in the tenant's key-space.
if (self->useSystemKeys && cx->defaultTenant.present() && self->keyPrefix < systemKeys.begin) {
@ -124,9 +124,7 @@ struct WriteDuringReadWorkload : TestWorkload {
return Void();
}
Future<Void> setup(Database const& cx) override {
return setupImpl(this, cx);
}
Future<Void> setup(Database const& cx) override { return setupImpl(this, cx); }
Future<Void> start(Database const& cx) override {
if (clientId == 0)