diff options
author | Alex Auvolat <alex@adnab.me> | 2023-12-14 16:23:48 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-12-14 16:23:48 +0100 |
commit | fa9247f11b89c960dffe82d6bf990ed4335788e3 (patch) | |
tree | ae8aab4eeee6c976d6578c960ab50aab15e28742 /script/jepsen.garage/src/jepsen/garage | |
parent | 92dd2bbe15357a24eb68a3d3d6220c4758bb81a7 (diff) | |
download | garage-fa9247f11b89c960dffe82d6bf990ed4335788e3.tar.gz garage-fa9247f11b89c960dffe82d6bf990ed4335788e3.zip |
jepsen: updated results, confirming that task3 worksjepsen
Diffstat (limited to 'script/jepsen.garage/src/jepsen/garage')
-rw-r--r-- | script/jepsen.garage/src/jepsen/garage/set.clj | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/script/jepsen.garage/src/jepsen/garage/set.clj b/script/jepsen.garage/src/jepsen/garage/set.clj index a73b8efc..2c7a2ccd 100644 --- a/script/jepsen.garage/src/jepsen/garage/set.clj +++ b/script/jepsen.garage/src/jepsen/garage/set.clj @@ -108,11 +108,13 @@ (->> (range) (map (fn [x] {:type :invoke, :f :add, :value x})) (gen/limit (:ops-per-key opts))))) - :final-generator (gen/phases - (independent/sequential-generator - (range 100) - (fn [k] (gen/once op-read))) - (gen/sleep 5))}) + :final-generator (independent/concurrent-generator + 10 + (range 100) + (fn [k] + (gen/phases + (gen/once op-read) + (gen/sleep 5))))}) (defn workload2 "Tests insertions and deletions" |