Allow TSS failures in consistency check when fault injection is enabled
This commit is contained in:
parent
c8b1662ab7
commit
7d94b0b442
|
@ -1625,8 +1625,10 @@ struct ConsistencyCheckWorkload : TestWorkload {
|
|||
|
||||
break;
|
||||
} else if (estimatedBytes[j] < 0 &&
|
||||
(g_network->isSimulated() || !storageServerInterfaces[j].isTss())) {
|
||||
self->testFailure("Could not get storage metrics from server");
|
||||
((g_network->isSimulated() &&
|
||||
g_simulator.tssMode <= ISimulator::TSSMode::EnabledNormal) ||
|
||||
!storageServerInterfaces[j].isTss())) {
|
||||
// Ignore a non-responding TSS outside of simulation, or if tss fault injection is enabled
|
||||
hasValidEstimate = false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue