Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an example ~/nodes file? #20

Open
yasuf opened this issue Jul 21, 2023 · 1 comment
Open

Is there an example ~/nodes file? #20

yasuf opened this issue Jul 21, 2023 · 1 comment

Comments

@yasuf
Copy link

yasuf commented Jul 21, 2023

I'm trying to run the tests, but not sure if there is an example ~/nodes file I can use to run them locally.

java.io.FileNotFoundException: /Users/username/nodes (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method) ~[na:na]
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219) ~[na:na]
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158) ~[na:na]
	at clojure.java.io$fn__11466.invokeStatic(io.clj:229) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11466.invoke(io.clj:229) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11379$G__11372__11386.invoke(io.clj:69) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11478.invokeStatic(io.clj:258) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11478.invoke(io.clj:254) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11379$G__11372__11386.invoke(io.clj:69) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11440.invokeStatic(io.clj:165) ~[clojure-1.10.0.jar:na]
	at clojure.java.io$fn__11440.invoke(io.clj:165) ~[clojure-1.10.0.jar:na]
@rhishikeshj
Copy link

The nodes is a simple list of names nodes that you are running.
For example, in a docker-compose based setup, the node names are n1...n5
So the nodes file would be

n1
n2
n3
n4
n5

Create it directly on the control node's console, or by creating it in the JEPSEN_ROOT dir if you have set one.

JEPSEN_ROOT=<path-to-your-test-folder> ./bin/up --dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants