zk1931 / jzab

ZooKeeper Atomic Broadcast in Java
http://zk1931.github.io/jzab/master/
Apache License 2.0
54 stars 23 forks source link

clean test directory before run #218

Closed octo47 closed 9 years ago

octo47 commented 9 years ago

now if you run tests from IDE they would probably fail, because of dirty directory. so jzab will take previous state from directory and start would not be clean. It is better to clean up test directory before run and this PR adds mall method @Before to cleanup dir.

EasonLiao commented 9 years ago

@octo47 does this only happen for IDE? I remember maven will clean up directory before running the tests. https://github.com/zk1931/jzab/blob/master/pom.xml#L151

octo47 commented 9 years ago

Yes, that happens in IDE.

octo47 commented 9 years ago

Thank you!

EasonLiao commented 9 years ago

sorry for the delays :)