Merge pull request #6330 from sfc-gh-jslocum/tss_restarting_fix
Fixing TSS buggify in restarting tests
This commit is contained in:
commit
66b43d4426
|
@ -3220,7 +3220,10 @@ ACTOR Future<Void> getKeyValuesStreamQ(StorageServer* data, GetKeyValuesStreamRe
|
|||
throw transaction_too_old();
|
||||
}
|
||||
|
||||
state int byteLimit = (BUGGIFY && g_simulator.tssMode == ISimulator::TSSMode::Disabled)
|
||||
// Even if TSS mode is Disabled, this may be the second test in a restarting test where the first run
|
||||
// had it enabled.
|
||||
state int byteLimit = (BUGGIFY && g_simulator.tssMode == ISimulator::TSSMode::Disabled &&
|
||||
!data->isTss() && !data->isSSWithTSSPair())
|
||||
? 1
|
||||
: CLIENT_KNOBS->REPLY_BYTE_LIMIT;
|
||||
GetKeyValuesReply _r =
|
||||
|
|
Loading…
Reference in New Issue