Created
August 13, 2013 20:04
-
-
Save marianoguerra/6225104 to your computer and use it in GitHub Desktop.
immutant race condition generator
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
lein immutant new breaker | |
cd breaker | |
cat src/immutant/init.clj | |
echo "(ns immutant.init (:require [immutant.messaging :as msg]))" > src/immutant/init.clj | |
echo '(msg/start "/queue/my-queue")' >> src/immutant/init.clj | |
echo '(msg/respond "/queue/my-queue" identity)' >> src/immutant/init.clj | |
for i in $(seq 1 10); do lein immutant deploy -n app-$i; done | |
lein immutant run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment