fix compilation issues
This commit is contained in:
parent
6e97bfb15a
commit
3e31820078
|
@ -437,7 +437,7 @@ bool FailureInjectionWorkload::add(DeterministicRandom& random,
|
|||
[&desc](auto const& w) { return w->description() == desc; });
|
||||
bool willAdd = work.useDatabase && 0.1 / (1 + alreadyAdded) > random.random01();
|
||||
if (willAdd) {
|
||||
initFailureInjectionMode(random);
|
||||
initFailureInjectionMode(random, alreadyAdded);
|
||||
}
|
||||
return willAdd;
|
||||
}
|
||||
|
|
|
@ -151,4 +151,4 @@ struct RandomCloggingWorkload : FailureInjectionWorkload {
|
|||
};
|
||||
|
||||
WorkloadFactory<RandomCloggingWorkload> RandomCloggingWorkloadFactory("RandomClogging");
|
||||
FailureInjectorFactory<RandomCloggingWorkload> MachineAttritionFailureWorkloadFactory;
|
||||
FailureInjectorFactory<RandomCloggingWorkload> RandomCloggingFailureInjectionFactory;
|
||||
|
|
Loading…
Reference in New Issue