Skip to content

Commit

Permalink
Don't cache topology
Browse files Browse the repository at this point in the history
  • Loading branch information
sprsquish committed Sep 18, 2019
1 parent e86ddc4 commit c39ab6d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions faunadb/src/jepsen/faunadb/auto.clj
Original file line number Diff line number Diff line change
Expand Up @@ -460,17 +460,8 @@
(setup! [_ test node]
(install! test)
(configure! test @(:topology test) node)
(when (:clear-cache test)
(clear-cache!))
(if (cache-valid? test)
(unpack-cache!)
; We have to go through the whole setup process, then we'll build a
; cache for next time
(do (start! test node)
(init! test (topo/replica @(:topology test) node) node)
(stop! test node)
(build-cache! test)))
(start! test node))
(start! test node)
(init! test (topo/replica @(:topology test) node) node))

(teardown! [_ test node]
(info node "tearing down FaunaDB")
Expand Down

0 comments on commit c39ab6d

Please sign in to comment.