Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Question: How do I actually run Kyle's tests to see this for myself? (Not that I don't believe him, I just want to play around a bit.)

When I run `lein install` and then `lein test`, I get:

    ╰─▶ ψ lein test
    Exception in thread "main" java.io.FileNotFoundException:
    Could not locate jepsen/db__init.class or jepsen/db.clj on classpath: ,
    compiling:(mongodb/core.clj:1:1)
	at clojure.lang.Compiler.load(Compiler.java:7142)
	at clojure.lang.RT.loadResourceScript(RT.java:370)
	at clojure.lang.RT.loadResourceScript(RT.java:361)


Update the version of the "jepsen" dependency in project.clj to 0.0.3. You'll need to do this for each of the test projects you want to run.

FWIW, this was filed the other day: https://github.com/aphyr/jepsen/issues/52


Ah, that explains it! Thanks.


Can't answer your question, but I'm curious how you managed to include an image in your comment. I didn't think embedded HTML was possible?


That's from my command prompt that I wrote -- the arrows are just Unicode characters. You can see it here if you like:

https://github.com/fj/dotfiles/blob/master/home/.config/shel...

Edit: On further reading, I think you seem to be thinking that the paste of my console is an image. It is just text. To make fixed-width text on HN, indent each line by four spaces, like this:

    This text has four spaces at the beginning of its line.


What image? The arrow and psi are characters.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: