kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ded53c12ab719f02d9ed366ebc521c87fdd6c967afddc9fa59e814a54ddd88a9 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-12-06 17:13 -06:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-12-14 17:44 -06:00 |
| Parents | 738a73e7064e |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/WarningsTest.java +2 −1
| @@ -23,6 +23,8 @@ | ||
| 23 | 23 | |
| 24 | 24 | import static org.assertj.core.api.Assertions.assertThat; |
| 25 | 25 | |
| 26 | +@CCMConfig(config = {"batch_size_warn_threshold_in_kb:5"}) | |
| 27 | +@CassandraVersion(major = 2.2) | |
| 26 | 28 | public class WarningsTest extends CCMTestsSupport { |
| 27 | 29 | |
| 28 | 30 | @Override |
| @@ -30,7 +32,6 @@ | ||
| 30 | 32 | execute("CREATE TABLE foo(k int primary key, v text)"); |
| 31 | 33 | } |
| 32 | 34 | |
| 33 | - @CassandraVersion(major = 2.2) | |
| 34 | 35 | @Test(groups = "short") |
| 35 | 36 | public void should_expose_warnings_on_execution_info() { |
| 36 | 37 | // the default batch size warn threshold is 5 * 1024 bytes, but after CASSANDRA-10876 there must be |