Elffuss BraidHub

kikocis/java-driver public

Require C* 2.0 for auto paging in io thread test
Changeset14bec54723cf1bea72f6997895c0725085072927e3b2675d9d6b2b83ed2dda7e
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-08-15 15:12 -05:00
Committerolim7t <omichallat+github@gmail.com> · 2016-08-30 13:54 -07:00
Parents9c063932b3ed

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/AsyncQueryTest.java +2 −0
@@ -16,6 +16,7 @@
1616 package com.datastax.driver.core;
1717
1818 import com.datastax.driver.core.exceptions.InvalidQueryException;
19+import com.datastax.driver.core.utils.CassandraVersion;
1920 import com.google.common.base.Function;
2021 import com.google.common.base.Throwables;
2122 import com.google.common.collect.Lists;
@@ -144,6 +145,7 @@
144145 }
145146
146147 @Test(groups = "short")
148+ @CassandraVersion(major = 2.0, description = "Paging is not supported until 2.0")
147149 public void should_fail_when_auto_paging_on_io_thread() throws Exception {
148150 for (int i = 0; i < 1000; i++) {
149151 Statement statement = new SimpleStatement("select v from asyncquerytest.foo where k = 1");