aboutsummaryrefslogtreecommitdiff
path: root/script/jepsen.garage/src/jepsen/garage.clj
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-19 14:34:19 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-19 14:34:19 +0200
commit74e50eddddf319ce1a32a9b57b3825ea40db3a6c (patch)
tree4faf88ab2a8fe1e9599939e0d6b28e7ab03189c0 /script/jepsen.garage/src/jepsen/garage.clj
parentb3bf16ee27b061a3a091022e718b2994365f945c (diff)
downloadgarage-74e50eddddf319ce1a32a9b57b3825ea40db3a6c.tar.gz
garage-74e50eddddf319ce1a32a9b57b3825ea40db3a6c.zip
jepsen: refactoring
Diffstat (limited to 'script/jepsen.garage/src/jepsen/garage.clj')
-rw-r--r--script/jepsen.garage/src/jepsen/garage.clj8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/jepsen.garage/src/jepsen/garage.clj b/script/jepsen.garage/src/jepsen/garage.clj
index 891fdf12..c8865248 100644
--- a/script/jepsen.garage/src/jepsen/garage.clj
+++ b/script/jepsen.garage/src/jepsen/garage.clj
@@ -56,12 +56,12 @@
(gen/stagger (/ (:rate opts)))
(gen/nemesis
(cycle [(gen/sleep 5)
- ;{:type :info, :f :partition-start}
- ;(gen/sleep 5)
+ {:type :info, :f :partition-start}
+ (gen/sleep 5)
{:type :info, :f :clock-scramble}
(gen/sleep 5)
- ;{:type :info, :f :partition-stop}
- ;(gen/sleep 5)
+ {:type :info, :f :partition-stop}
+ (gen/sleep 5)
{:type :info, :f :clock-scramble}]))
(gen/time-limit (:time-limit opts)))
(gen/log "Healing cluster")