DATACASS-197: Reconsider usage of ingestions for general CQL test cases
Task-Url: https://jira.spring.io/browse/DATACASS-197
This commit is contained in:
@@ -15,8 +15,8 @@ import java.util.concurrent.CancellationException;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.springframework.cassandra.core.AsynchronousQueryListener;
|
||||
import org.springframework.cassandra.core.ConsistencyLevel;
|
||||
import org.springframework.cassandra.core.Cancellable;
|
||||
import org.springframework.cassandra.core.ConsistencyLevel;
|
||||
import org.springframework.cassandra.core.QueryForListOfMapListener;
|
||||
import org.springframework.cassandra.core.QueryForMapListener;
|
||||
import org.springframework.cassandra.core.QueryForObjectListener;
|
||||
|
||||
@@ -12,13 +12,13 @@ public class ListListener<T> extends TestListener implements QueryForListListene
|
||||
|
||||
@Override
|
||||
public void onQueryComplete(List<T> results) {
|
||||
countDown();
|
||||
this.result = results;
|
||||
countDown();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onException(Exception x) {
|
||||
countDown();
|
||||
this.exception = x;
|
||||
countDown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user