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

Initial test-cleanup [DATACASS-255] #399

Closed
spring-projects-issues opened this issue Feb 17, 2016 · 1 comment
Closed

Initial test-cleanup [DATACASS-255] #399

spring-projects-issues opened this issue Feb 17, 2016 · 1 comment
Assignees

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Feb 17, 2016

Mark Paluch opened DATACASS-255 and commented

Tests in Spring Data Cassandra are hard to debug within the IDE, and the test setup fails in certain IDEs. Initialization code for Embedded Cassandra is spread across multiple tests. Test settings are set in multiple resources, the majority of tests does not clean up after the test. This makes it impossible to run tests on an external Cassandra instance.

Todo:

  • Consolidate initializer code in a CassandraRule
  • Help the tests to become better citizens again by adding cleanup code and allowing conditional create/drop of keyspaces, tables, etc.
  • Consolidate port properties
  • Create profiles for embedded (managed by the tests) and external (managed outside the tests) Cassandra instances

Issue Links:

  • DATACASS-247 Optional return type for Repositories returns Optional of resultset instead of Optional of Objectype
    ("is depended on by")
  • DATACASS-280 Refactor Cassandra query execution and mapping to consolidate mapping
    ("is depended on by")

Referenced from: pull request #51

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented May 10, 2016

John Blum commented

Code review complete

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

Successfully merging a pull request may close this issue.

None yet
2 participants