Created
January 24, 2020 09:58
-
-
Save josephwoodward/44a0c8c29ee39355ca72c12dc6782691 to your computer and use it in GitHub Desktop.
simmy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fault = new SocketException(errorCode: 10013); | |
var policy = MonkeyPolicy.InjectFault( | |
fault, | |
injectionRate: 0.05, | |
enabled: () => isEnabled() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment