aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-25 11:50:16 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-25 11:50:16 +0200
commitcfbfa09d24727e83bc042764dad2751e944fc939 (patch)
treefc1c33641d5c88737ab2de88d98ed04c3821fa94
parentdb921cc05f8bcfccd0d0ba1d90b6dcd77f06dcdd (diff)
downloadgarage-cfbfa09d24727e83bc042764dad2751e944fc939.tar.gz
garage-cfbfa09d24727e83bc042764dad2751e944fc939.zip
jepsen: fix set2 test omg finally this is so stupid
-rw-r--r--script/jepsen.garage/src/jepsen/garage/set.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/jepsen.garage/src/jepsen/garage/set.clj b/script/jepsen.garage/src/jepsen/garage/set.clj
index 670c73f2..a73b8efc 100644
--- a/script/jepsen.garage/src/jepsen/garage/set.clj
+++ b/script/jepsen.garage/src/jepsen/garage/set.clj
@@ -81,7 +81,7 @@
([:invoke :read])
(assoc-in state [:read-must-contain (:process op)] (:add-done state))
([:ok :read])
- (let [read-must-contain (get (:process op) (:read-must-contain state))
+ (let [read-must-contain (get (:read-must-contain state) (:process op))
new-missed (set/difference read-must-contain (:value op))
new-unexpected (set/difference (:value op) (:add-started state))]
(assoc state