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

Reconsider usage of ingestions for general CQL test cases [DATACASS-197] #367

spring-projects-issues opened this issue Jan 26, 2015 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Jan 26, 2015

Oliver Drotbohm opened DATACASS-197 and commented

The test cases in CQLOperationsTests are using CqlTemplate.ingest(…) to ingest data into Cassandra. This is an asynchronous operation but the test cases assert on the presence of the just inserted data right after the ingestion.

This causes the test cases to be likely to fail in case the machine isn't able to insert the data right away

Affects: 1.0.4 (Dijkstra SR4), 1.1.1 (Evans SR1), 1.2 M1 (Fowler)

Referenced from: commits c7e4320, 83e0b30, e823527, d48e727

Backported to: 1.1.2 (Evans SR2), 1.0.5 (Dijkstra SR5)

Copy link

@spring-projects-issues spring-projects-issues commented Jan 26, 2015

David Webb commented

Refactored tests that did not need to use ingest() to just use a synchronous insert.

Created new getBookWithRetry() in order to test asynchronous ingest() calls.

Bamboo Build successful

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

Successfully merging a pull request may close this issue.

None yet
1 participant