DATACASS-276 - Polishing.
Truncate table while it contains data to reach a defined state for testing.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user