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

Allow specifying a set of errnos to select from. #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 27, 2020

  1. Allow specifying a set of errnos to select from.

    Allow setting a set of errnos rather than just a particular errno or a
    random one from the entire set. Update the cookbook for random faults to
    exclude any errnos passed via extra arguments.
    
    My objective here is to be able to exclude a specific errno from
    random injection. The Go runtime gets confused by EAGAINs, which cause
    it to epoll_wait on the file descriptor. I'd like to exclude EAGAIN from
    the set of injected errors for my use case.
    jbowens committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    7297a54 View commit details
    Browse the repository at this point in the history