Update fdbserver/workloads/LocalRatekeeper.actor.cpp

Co-Authored-By: mpilman <markus@pilman.ch>
This commit is contained in:
Trevor Clinkenbeard 2019-04-08 11:02:46 -07:00 committed by mpilman
parent d2e74cb2c0
commit b286102d34
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ struct LocalRatekeeperWorkload : TestWorkload {
expectedRateLimit = double(durabilityLag) / double(SERVER_KNOBS->STORAGE_DURABILITY_LAG_HARD_MAX);
}
if (expectedRateLimit < metrics.localRateLimit - 0.01 || expectedRateLimit > metrics.localRateLimit + 0.01) {
self->testFailed;
self->testFailed = true;
TraceEvent(SevError, "StorageRateLimitTooFarOff")
.detail("Storage", ssi.id())
.detail("Expected", expectedRateLimit)