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

[FEA] Random return code choice out of CSV specified in substituteReturnCode #461

Open
gerashegalov opened this issue Aug 5, 2022 · 0 comments
Labels
faultinj relates to fault injection tool

Comments

@gerashegalov
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
I wish the Fault Injection Tool allowed comma-separated values for substitute Return Code such that I don't need a verbose list of separate rules for each one individually

Describe the solution you'd like

       "cuLaunchKernel_ptsz": {
           "percent": 1,
           "injectionType": 2,
           "substituteReturnCode": "2,3,999" ,
           "interceptionCount": 1000
       }

with the semantic: if the rule is matched pick one of the values randomly

Describe alternatives you've considered
replicate the rule per return code

@gerashegalov gerashegalov added the faultinj relates to fault injection tool label Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faultinj relates to fault injection tool
Projects
None yet
Development

No branches or pull requests

1 participant