SERVER-137942ClosedFixed
Make StorageEngineMock throw to test DBException handling
{color:#c1c7d0}In the ovverride of tryPauseAutoCompactForReplicaSetWritesBlock, the StorageEngineMoch returns an error status rather than throwing, so the new test does not exercise the observer helper's {{DBException}} catch. Removing that catch would still pass the test, although an escaping exception would terminate the process through {{RecoveryUnit::Change::commit() noexcept.}}{color} {color:#c1c7d0}As part of this ticket, we should make this mock throw so the existing commit and write-b