 (ns onyx.log.accept-join-cluster-test
   (:require [onyx.extensions :as extensions]
             [onyx.log.entry :refer [create-log-entry]]
+            [clojure.set :as s]
             [onyx.system]
             [midje.sweet :refer :all]))
 


(def rep-reactions (partial extensions/reactions entry))

(def old-replica {:pairs {} :accepted {:a :d} :peers [:a]
                  :job-scheduler :onyx.job-scheduler/greedy})

(let [new-replica (f old-replica)


(def old-replica {:pairs {:a :b :b :c :c :a}
                  :accepted {:a :d}
                  :peers #{:a :b :c}
                  :job-scheduler :onyx.job-scheduler/greedy})

(let [new-replica (f old-replica)
