Skip to content

Commit

Permalink
cockroachdb: set http-port to 26258
Browse files Browse the repository at this point in the history
This lines up the port with roachprod's expectations.
  • Loading branch information
nvanbenschoten committed Apr 4, 2019
1 parent caac815 commit dd05e87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cockroachdb/src/jepsen/cockroach/auto.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@
;; CockroachDB user and db name for jdbc-mode = :cdb-*
(def db-user "root")
(def db-passwd "dummy")
(def db-port 26257)
(def dbname "jepsen") ; will get created automatically

;; Ports
(def db-port 26257)
(def http-port 26258)

;; Paths
(def working-path "Home directory for cockroach setup" "/opt/cockroach")
(def cockroach "Cockroach binary" (str working-path "/cockroach"))
Expand All @@ -49,6 +52,8 @@
;; Extra command-line arguments to give to `cockroach start`
(def cockroach-start-arguments
(concat [:start
:--port db-port
:--http-port http-port
;; ... other arguments here ...
]
(if insecure [:--insecure] [])))
Expand Down

0 comments on commit dd05e87

Please sign in to comment.