From cfbfa09d24727e83bc042764dad2751e944fc939 Mon Sep 17 00:00:00 2001
From: Alex Auvolat <alex@adnab.me>
Date: Wed, 25 Oct 2023 11:50:16 +0200
Subject: [PATCH] jepsen: fix set2 test omg finally this is so stupid

---
 script/jepsen.garage/src/jepsen/garage/set.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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