DATACASS-276 - Polishing.

Truncate table while it contains data to reach a defined state for testing.
This commit is contained in:
Mark Paluch
2016-10-12 14:39:53 +02:00
parent 24ffba5d2f
commit 8c39fa4787

View File

@@ -724,6 +724,7 @@ public class CassandraOperationsIntegrationTests extends AbstractKeyspaceCreatin
public void stream() throws InterruptedException {
while(template.select("SELECT * FROM book", Book.class).size() != 0){
template.truncate("book");
Thread.sleep(10);
}