The workload sometimes would wrongly report a passed tests as failed due to not return after the hotkey is found.

This commit is contained in:
Xin Dong 2020-08-31 14:09:01 -07:00
parent 939f59d989
commit 974c9248f8
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ struct ReadHotDetectionWorkload : TestWorkload {
for (const auto& kr : keyRanges) {
if (kr.keys.contains(self->readKey)) {
self->passed = true;
return Void();
}
}
// The key ranges deemed read hot does not contain the readKey, which is impossible here.