Created
November 4, 2014 17:19
-
-
Save remydagostino/6ba01250cef967a60fbe to your computer and use it in GitHub Desktop.
Fails 50% percent of requests
This file contains hidden or 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
if (Math.random() > 0.5) { | |
return $.Deferred().reject({ id: sound.id }, '', {status: 400 }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment