Created
February 10, 2017 17:24
-
-
Save avantassel/319bce34a0c304bbd4b15bdb91b48707 to your computer and use it in GitHub Desktop.
Bash script for load testing npm test
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
#!/bin/bash | |
for x in {1..100} ; do echo "$x runs"; npm test ||break;sleep 5; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment