mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-31 09:18:29 +00:00
jepsen: wip
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
(ns jepsen.garage
|
||||
(:require [jepsen.cli :as cli]
|
||||
[jepsen.tests :as tests]))
|
||||
|
||||
(defn garage-test
|
||||
"Given an options map from the command line runner (e.g. :nodes, :ssh,
|
||||
:concurrency, ...), constructs a test map."
|
||||
[opts]
|
||||
(merge tests/noop-test
|
||||
{:pure-generators true}
|
||||
opts))
|
||||
|
||||
(defn -main
|
||||
"Handles command line arguments. Can either run a test, or a web server for
|
||||
browsing results."
|
||||
[& args]
|
||||
(cli/run! (cli/single-test-cmd {:test-fn garage-test})
|
||||
args))
|
||||
Reference in New Issue
Block a user