Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QLS: statically enable/disable fault injection depending on the SUT #534

Draft
wants to merge 6 commits into
base: jdral/qls-fault-handling-updates
Choose a base branch
from

Conversation

jorisdral
Copy link
Collaborator

Builds on top of #533.

This is a WIP, so not ready for review yet.

Faults can only be injected into a mocked HasFS, but not all the SUTs we test use a mocked HasFS. If the SUT does not make use of a mocked HasFS then the result of fault injection will always be InjectFaultAccidentalSuccess. This PR adds some boilerplate for statically enabling/disabling fault injection depending on the SUT.

Fault injection is then enabled for the following SUTs:

  • The "real" implementation in IO using a mocked HasFS
  • The "real" implementation in IOSim using a mocked HasFS

Fault injection is then disabled for the following SUTs:

  • The reference implementation: it does not use a HasFS
  • The "real" implementation in IO using the real HasFS: it uses the real file system

@jorisdral jorisdral self-assigned this Jan 17, 2025
@jorisdral jorisdral changed the title Jdral/configurable faults QLS: statically enable/disable fault injection depending on the SUT Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant