Skip to content

Commit

Permalink
independent/checker: construct Histories, not vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
aphyr committed Dec 20, 2022
1 parent e7446a4 commit 659c679
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jepsen/src/jepsen/independent.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
namespace supports splitting a test into independent components--for example
taking a test of a single register and lifting it to a *map* of keys to
registers."
(:require [jepsen.util :as util :refer [map-kv]]
(:require [jepsen [history :as h]
[util :as util :refer [map-kv]]]
[jepsen.store :as store]
[jepsen.checker :refer [merge-valid check-safe Checker]]
[jepsen.generator :as gen]
Expand Down Expand Up @@ -274,7 +275,7 @@
(not (tuple? v)) op
(= k (key v)) (assoc op :value (val v))
true nil))))
vec))
h/history))

(defn checker
"Takes a checker that operates on :values like `v`, and lifts it to a checker
Expand Down

0 comments on commit 659c679

Please sign in to comment.