Update fdbserver/workloads/LocalRatekeeper.actor.cpp
Co-Authored-By: mpilman <markus@pilman.ch>
This commit is contained in:
parent
d2e74cb2c0
commit
b286102d34
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue