Skip to content

Conversation

@lutovich
Copy link
Contributor

@lutovich lutovich commented Dec 6, 2016

This PR adds some basic infrastructure to install/start/stop/query shared causal cluster and moves couple ITs from https://github.com/neo4j/neo4j codebase.

Missing functionality:

  • download specified/latest neo4j package
  • add cores and read replicas dynamically
  • stop/kill individual cluster members (simulate leader switches)

These items and corresponding tests will be covered in future PRs.

Commit includes utility to invoke boltkit's `neoctrl-cluster` command to
install, start and stop clusters. It also adds a JUnit rule to start shared
cluster. Such shared cluster is supposed to be used by all ITs during
the build.
Storing them is unnecessary because each operation should always just
read cluster state using temp driver instance and
`dbms.cluster.overview` procedure.
Also added cluster startup timeout.
@lutovich lutovich force-pushed the 1.1-causal-cluster-it branch from 6d78e99 to a0329b6 Compare December 6, 2016 16:11
@lutovich lutovich force-pushed the 1.1-causal-cluster-it branch from a0329b6 to a234ca0 Compare December 6, 2016 16:12
@technige technige requested a review from zhenlineo December 8, 2016 09:23
@zhenlineo zhenlineo merged commit 45e3623 into neo4j:1.1 Dec 9, 2016
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

Successfully merging this pull request may close these issues.

2 participants